View Single Post
Old 10-12-2019, 02:59 PM   #608
mobama
Evangelist
mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.mobama ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 2303460
Join Date: Aug 2017
Device: Pocketbook Inkpad 3, Onyx T76ML, Kobo H2O Edition 1, Kobo Mini
Quote:
Originally Posted by ottischwenk View Post
Linux has the same problem.
Sorting alphanumeric fields (text) starts from left to right and "1" from "10" is lower than "2"
It depends on how you set up the tool that does the sorting. In Linux, "sort -V" is a good start.

From the man page of sort:
-V, --version-sort
natural sort of (version) numbers within text
mobama is offline   Reply With Quote