I can't reproduce this using r3.

Charles Yeomans
On Oct 23, 2006, at 6:40 PM, Tim Jones wrote:

Hi Folks,

I've an array that will contain a list of values that consist of a letter and then a number (non-zero padded). The order the elements are received is random. For example:

D1
S13
S1
S2
S12
S10
S11
S3
S4
D2
S14
S15
S5
S9
S7
S6
S8

Given that list order, I issue the array.sort and expect something that looks like this:

D1
D2
S1
S10
S11
S12
S13
S14
S15
S2
S3
S4
S5
S6
S7
S8
S9

However, the S1 is coming AFTER the S15 in the actual sort (in this example).

D1
D2
S10
S11
S12
S13
S14
S15
S1
S2
S3
S4
S5
S6
S7
S8
S9

In all of my other sorts, S1 is less than S10

Is this a bug, or is my expectation of ascending sorts somehow misguided?

Tim
--
Tim Jones                                       [EMAIL PROTECTED]


_______________________________________________
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>

_______________________________________________
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