On Oct 24, 2006, at 5:11 PM, Colin Scarrott wrote:

Hi,
I have the same problem when sorting a single array, using 2006r4.
For example the values are read in from a database into an array

array.sort is then applied

sorted output is as follows

NCP01
NCP02
...
NCP05
NCP100
NCP67
NCP68

shouldn't the NCP100 be at the bottom of the list?

Hope someone can help

No
It's sorted like a dictionary and NOT numerically

Since the "letters" 0,1,2,3,4,5,6,7,8,9 sort in that order NCP0 comes before NCP1 AND NCP100 comes before anything with NCP2

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to