in reply to Sorting an array of arrays by field

Oddly enough, it was almost precisely this problem (expensive split to extract a field inside the sort comparison) for which the Schwartzian Transform (not called that then) was invented.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on Re: Sorting an array of arrays by field