I have a .txtfile that has these values(4 rows).
Now I want to sort this.
This list will be sorted in ascending order First by value 1 and Then by value 2:
2,3,0
1,2,0
2,2,0
1,3,0
The output will then look like this:
(Notice that it first was sorted for the first value and Then by the second value.)
1,2,0
1,3,0
2,2,0
2,3,0
How could this be possible to do... I beleive I have to use Arrays in a way to do this but dont really know how.