syscoin/syscoin1

Marketplace: when sorting by price, it treats the price as a string

bocyaj opened this issue · 0 comments

noticed that after doing a search in the marketplace and you organize the results by price, its treats the price value as a string as opposed to an integer. ie: sorting in descending order yields; 9, 8000, 60, 5, 401, etc....

As an enhancement, it would be nice if the listing order also took into consideration the different currencies in the entry. So that it organizes the listings in order of 'relative value' as opposed of organized by the number entered as the price ( regardless of currency type ).

example: descending order (pegging SYS at .00002 and BTC at $450USD in this example)
10,000 SYS
80 USD
5,0000 SYS
35 USD
1,000 SYS
0.5 USD
5 SYS