in reply to Re^4: Sorting multi-dimensional arrays
in thread Sorting multi-dimensional arrays
It's quite possible that CC100A _does_ go after CC1000, in his system...That would be what I call an accidental feature.. :-) Better to be safe than sorry, remember? The substr solution will work regardless of circumstances and won't surprisingly blow up if he moves the script to a system with different alphanumeric order. I am in no way dismissing cmp off hand as it is indeed a candidate if you are absolutely certain about your data format. But that's just what I find to be a dangerous assumption. I mean, who needs four digit years, right? :-) See also my signature..
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^5: Sorting multi-dimensional arrays
by sauoq (Abbot) on Sep 11, 2002 at 19:17 UTC | |
by Aristotle (Chancellor) on Sep 11, 2002 at 19:29 UTC |