unix sort descending order

Viewed 155665

I want to sort a tab limited file in descending order according to the 5th field of the records.

I tried

sort -r -k5n filename

But it didn't work.

3 Answers
Related