I´m working on a school project where one task is to write a batch script that sort columns from a text file.
example text file:
078 Hyllplan 1200 100 30 2
077 Bokhylla 5000 120 30 80
096 Skap 15000 80 40 85
146 VitGarderob 9000 80 60 200
100 Bankskiva 3650 180 100 5
163 Skrivbord 25800 120 60 70
182 Pelarbord 1600 60 60 70
Now to the problem, its works fine to sort the two first columns but not the others. How can I sort for example the third column(sort /+12)and so on