Sorting Rows of a Matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg65089] Sorting Rows of a Matrix
- From: Gregory Lypny <gregory.lypny at videotron.ca>
- Date: Tue, 14 Mar 2006 06:00:07 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello everyone, How can I sort the rows of a matrix by using one or more of the columns as sort keys just like in a spreadsheet? For example, if matrix M is 12 x 2 with numbers in the first column and unordered month numbers in the second, how would I order the rows by month? Regards, Greg
- Follow-Ups:
- Re: Sorting Rows of a Matrix
- From: János <janos.lobb@yale.edu>
- Re: Sorting Rows of a Matrix
- From: Sseziwa Mukasa <mukasa@jeol.com>
- Re: Sorting Rows of a Matrix