I've got two columns of data I need to sort: the first column(A) needs to be sorted lexicographically and for any rows which then contain the same column A string, I need them to be sorted numerically according to what's in the second column(B).
I was thinking 'sort -f'
, but that would make a '12' in column B come before a '2'.
Edit: Accidentally typed column in place of row.