in reply to Re^3: Sorting a matrix based on the values of columnsin thread Sorting a matrix based on the values of columns
redbull2012, simply beautiful code :-) Thank you very much. Learned a lot.