--- test1 --- 5 5 10 10 3D 3D --- test2 --- x 1 y 1 1 1 100 1 --- test3 --- x 1 1 1 100 1 --- test4 --- 0 1 x 1 1 1 100 1 --- test5 --- 1 0 1 y 1 --- test6 --- "1" "2" "3 " "4" --- test7 --- --asc ind str-- | 3| 3 | 4 | 4 |0|0 |1|1 |2|2 |3|3 |3D|3D |4|4 |5|5 |D3|D3 --asc ind num-- |0|0 |D3|D3 |1|1 |2|2 | 3| 3 |3|3 |3D|3D | 4 | 4 |4|4 |5|5 --asc val num-- gawk: arraysort.awk:79: warning: `PROCINFO["sorted_in"]': sorting by value can't be forced to use numeric comparison |4|4 |5|5 |D3|D3 |3D|3D | 3| 3 |0|0 |1|1 |2|2 |3|3 | 4 | 4