in reply to Re^2: numeric sort on substring
in thread numeric sort on substring
In hindsight, the complication of the inner anonymous array is needless. It reflects how my mind reckoned the data structure at the moment I wrote the transform.
The three-argument split is just a habit. The habit is based on the documentation, which states: "In time critical applications it behooves you not to split into more fields than you really need." I don't know if the OPs application is time-critical or not. I went with the more conservative assumption. Like I said: habit.
I like the regular expression pattern matching version better anyway.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: numeric sort on substring
by johngg (Canon) on Jan 27, 2011 at 13:39 UTC | |
by salva (Canon) on Jan 27, 2011 at 14:48 UTC |