Post Reply 
Sorting Strings
07-12-2017, 05:10 AM
Post: #10
RE: Sorting Strings
@Didier Lachieze - It works as expected, amazing job! I just tried it quickly and the results are good. I will look at your solution in depth later this week.

@Han - How should the natural sorting program sort: 1.2.3 versus 1.20.3 versus 1.02.3. - For my purposes integer sorting is sufficient, however in this case i would say that:
1.2.3 < 1.20.3 since 2 is less than 20, general rule

1.02.3 and 1.2.3 would essentially be equal, in this case I would say 1.02.3 is before 1.2.3 because of the leading zero but it really is splitting hairs at that stage.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


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: 3 Guest(s)