News for hackers. Stuff that matters.
Re:Show HN: Curl https://ec2.shop by echeese on Tuesday June 30, 2020 @07:05AM (#23688848)
The prices column is sorted lexicographically, instead of numeric, i.e. 1, 10, 2
Re:Show HN: Curl https://ec2.shop by GlitchMr on Tuesday June 30, 2020 @08:53AM (#23689496)
This can be dealt with by using a different comparison function, say `.sort((a, b) => a.localeCompare(b, 'en', {numeric: true}))`.
Re:Show HN: Curl https://ec2.shop by ohashi on Tuesday June 30, 2020 @07:35AM (#23689024)
They all are
Re:Show HN: Curl https://ec2.shop by kureikain on Tuesday June 30, 2020 @09:13PM (#23696693)
I fixed this sorting issue :-). Give it another try.