I have an array with five columns and i want to write it to a file.
Before writing it i must sort it using the field in the fifth column.
_________________________________________
|field 1|field 2|field 3|field 4|field 5|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
|_______|_______|_______|_______|_______|
Note that gawk is not available so either i have to write my own sort function or i have to use another way.
Any suggestions?