nag_sort_permute_invert (m01zac) Example Program Results Matrix with rows sorted according to column 1 1.0 6.0 4.0 2.0 4.0 9.0 2.0 4.0 6.0 3.0 4.0 1.0 4.0 9.0 6.0 4.0 9.0 5.0 4.0 1.0 2.0 4.0 9.0 6.0 5.0 2.0 1.0 6.0 5.0 4.0 6.0 2.0 5.0 9.0 3.0 2.0