Sort by number sorts incorrectly


Notice in the screenshot, that sorting by a number or text field with a number is doing lexicographic sorting, which means basically the language treats the variables as strings and compares character by character ( "200" is greater than "19999" because '2' is greater than '1' ).

This should probably be fixed, as documentation (a cockpit use case) is often numbered in various ways:

  • 1
  • 1.1
  • 1.1.1
  • 1-1-1