Bug on columns ordering on the web console
Summary
When choosing the ordering of any table on the web console, if the column chosen for ordering stores values different from strings or numbers, the units are ordered alphabetically rather than by its actual unit (memory, cpu units, etc.).
Also, the ordering affects the list on the sidebar navigation too.
Steps to reproduce
- Enter the web console
- Open "Instance Profile" section
- Click on the "RAM" header
- The rows will be ordered alphabetically, not by "Memory Size"
- The records shown on the sidebar will also get ordered
Expected Behaviour
Records should be ordered properly depending on the unit they are set and without affecting sidebar's default ordering.
Environment
- StackGres version:
1.0.0-alpha2
/0.9.5
Relevant logs and/or screenshots
Edited by Luis Garcia