• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
documentation on Sorting Numerically?
#2
Dave,

If you had songs with numbers at the start sorted alphabetically, you would get this

1 - Song One
10 - Song Ten
100 - Song One Hundred
11 - Song Eleven

The numeric sorting should put those in the order you would expect. You asked if it can detect numbers at the end - it can, but only when comparing against other songs with numbers at the end I believe, and it will use an alphabetic sorting for the content before the number. So if you had

Song 10
Song 11
Song 100

The numeric sorting would properly handle sorting those, whereas alphabetic will not. However if you have

AWord 10
CWord 11
BWord 100

the numeric sorting is first going to sort on that first letter, so it would end up as

AWord 10
BWord 100
CWord 11

This is to ensure the numeric sorting is still usable for entries without any number at all.

Mike
Reply


Messages In This Thread
RE: documentation on Sorting Numerically? - by Zubersoft - 02-21-2024, 12:01 PM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.