Requested as a separate commit by landry@. OK landry@
Sorts an array in column order, this is needed for the ruby-typo dep-tree. Okay bernd@.