I wonder if there is any posibility to sort a text file by columns. For example
I have aux1.txt with rows like this
Name SecondName Grade
In shell i can do this
sort -r -k 3 aux1
It sorts the file by the 3rd column(grade).
In batch
sort /+3 < aux1.txt
sorts the file after the 3rd letter.
I read the sort manual for batch but no results.
You could write your own sort-wrapper with a batch file.
You only need to reorder the columns into a temporary file,
sort it and order it back. (nearly obvious)