in reply to Re^4: sorting an array
in thread sorting an array
If you look into a phone book, you expect Strauss to come before Strausse, so that's what you usually want.
The only case where this doesn't do what you mean is to when you compare numbers of different length. That's what Perl offers the <=> operator for.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: sorting an array
by hnd (Scribe) on Jul 10, 2009 at 11:41 UTC |