yeo / ec2.shop

fastest way to check and compare ec2 and other aws service pricing
https://ec2.shop
MIT License
112 stars 17 forks source link

Can't do secondary sorting #5

Closed MarkSRobinson closed 4 years ago

MarkSRobinson commented 4 years ago

I'd like to be able to sort of multiple columns. For example, I'd like to sort on memory first, then on price.

Usually this is implemented by using a stable sorting algo and then sorting the data multiple times. From a UI perspective I'd click price, then click memory.

Right now, that doesn't work. If I sort by price then memory, It's not sorted by price anymore.

v9n commented 4 years ago

thanks for report the issue. That makes sense. I'll gix it.

v9n commented 4 years ago

@MarkSRobinson This is implemented now. You can hold the Shift key to sort by multiple fields.