ec2instances.info
ec2instances.info copied to clipboard
Sorting with "alphanum" would be nice
Sort order is alphabetical. It would work much better with "alphanum" sorting: http://www.davekoelle.com/alphanum.html
The alphabetic order today is: (see image below) r5.12xlarge r5.16xlarge r5.24xlarge r5.2xlarge r5.4xlarge r5.8xlarge
The alphanum order would be: r5.2xlarge r5.4xlarge r5.8xlarge r5.12xlarge r5.16xlarge r5.24xlarge

@pwinston I'd love to see a PR for this, please consider contributing it.
That's probably better known as natural sorting, there's a plugin for that: https://datatables.net/plug-ins/sorting/natural
But it would be even better if it could be sorted by unit size so nano is before small is before 2xl.
I usually sort by price to achieve this order
@cristim That works pretty well once I realized you can filter for r5\.
with the dot escaped to give you all r5
instances (without r5a
, r5d
, r5ad
). If you just filter for r5.
that doesn't work, have to escape the dot.
Those two tricks together seem like a very solid workaround. Thanks!