As always, just give pointers in the right direction.
Ok, here are your pointers :)
- Use a regex or split to extract the column of interest
- Use the Schwartzian Transform to do the actual sorting. The ST avoids having to do the (relatively expensive) extraction procedure anew for each pairwise comparison ($a <=> $b).