Multiple column sorting
Hi,
It is easy using the csort(M,n) command but it only operates on one column.
Is there an easy way to sort on first two columns.
Also need to add if first two columns are identical ?
Thanks
Hi,
It is easy using the csort(M,n) command but it only operates on one column.
Is there an easy way to sort on first two columns.
Also need to add if first two columns are identical ?
Thanks
I think there have been a couple of threads on this issue. Tom Gutman, one of the old cadre, wrote one using rank sort. Here's a thread in which
https://community.ptc.com/t5/Mathcad/Csort-is-it-true/m-p/706968/highlight/true#M193865
By an interesting coincidence, I'm in the process of updating an old complex-number mergesort worksheet of mine to MP10. I'm also fiddling around with it to see if I can get it to sort on functions ... no idea what the sorting criterion should be.
Stuart
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.