Sorting Strings
|
07-11-2017, 11:32 PM
(This post was last modified: 07-12-2017 12:13 AM by Didier Lachieze.)
Post: #8
|
|||
|
|||
RE: Sorting Strings
Here is a first version doing this natural string sorting. It is based on the CAS sort function with a custom string comparison function as described in English here, and with more details in French here.
Note: this version is limited to integer numbers without any period or comma which are considered as strings. For example "12.6" will be sorted before "12.49". Code: // Alphanum: sort a list of strings_containing With the following test program it generates the expected sorted list: Code: EXPORT TEST() Code: 10X Radonius |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Sorting Strings - Jacob Wall - 07-10-2017, 12:18 AM
RE: Sorting Strings - webmasterpdx - 07-10-2017, 04:58 AM
RE: Sorting Strings - Joe Horn - 07-10-2017, 07:22 AM
RE: Sorting Strings - Jacob Wall - 07-10-2017, 05:02 PM
RE: Sorting Strings - Tyann - 07-11-2017, 05:03 AM
RE: Sorting Strings - Tyann - 07-11-2017, 06:06 PM
RE: Sorting Strings - Jacob Wall - 07-11-2017, 06:21 PM
RE: Sorting Strings - Didier Lachieze - 07-11-2017 11:32 PM
RE: Sorting Strings - Gilles59 - 07-12-2017, 08:28 PM
RE: Sorting Strings - Han - 07-12-2017, 12:32 AM
RE: Sorting Strings - Jacob Wall - 07-12-2017, 05:10 AM
RE: Sorting Strings - Jacob Wall - 07-14-2017, 07:02 AM
RE: Sorting Strings - Didier Lachieze - 07-14-2017, 08:11 AM
RE: Sorting Strings - Jacob Wall - 07-15-2017, 03:00 AM
|
User(s) browsing this thread: 9 Guest(s)