Im trying to sort the output of a df -k top down. The problem is each line is a mix of a number then a tab and then the folder ie
If I sort it, it does it alphabetically as they contain strings. I think if I use split to split them I can then sort the numbers but I want to keep a reference to the string part so the numbers and folders tally on output.
Any help appreciated.