> The problem is though is
 that it only takes the first two characters into
 consideration when it sorts it, so when I add numbers
 like 1, 17, 129, etc the 129 appears before the 17 in
 the list.

Yuck. So it does, even in a linear list, even with numbers and no alpha characters.

How do you get it to go wrong? Here's what I get:


t = [1,17,129]
put t
-- [1, 17, 129]
sort t
put t
-- [1, 17, 129]

t = [129,1,17]
put t
-- [129, 1, 17]
sort t
put t
-- [1, 17, 129]

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to