OpenBazaar / openbazaar-desktop

OpenBazaar 2.0 Desktop Client (talks to openbazaar-go server daemon)
MIT License
646 stars 186 forks source link

Sort by "Price low to high" seems to be alphabetical instead of numeric #1910

Open cactux opened 3 years ago

cactux commented 3 years ago

Brief Description: The price sorting is incorrect. In order, I have: 10.00 12.00 20.00 3.50 4.50 9.00 It looks like it is alphabetical order instead of numeric?

Operating System (OS and version): Ubuntu Linux 20.04 OpenBazaar version (shown on About OpenBazaar page in menu): client 2.4.8, server 0.14.5

Hardware: PC (intel NUC).

Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce): Always

Steps to reproduce:

  1. in openbazaar-desktop, open a shop with multiple prices, including some of different magnitude (in the tens, hundred, thousands.
  2. Sort by price, either low to high or high to low
  3. see the incorrect sort

Observed Behavior: incorrect sort

Expected Behavior: correct sort

Additional info (links, images, etc go here):