how to Sort a coma separated file (with following details) based on salary (ascending or descending) a.Ename,firstname,lastname,salary
|
That's for ascending, throw in -r for descending. | |||||
feedback
|
|
In my country the separator is not , but ; - so the solution is more complicated. Just in case this applies here too...:
and instead of -t, I use
| |||
|
feedback
|