Re: [perl-python] sorting matrixes

2005-03-22 Thread TZOTZIOY
On 22 Mar 2005 09:02:51 -0800, rumours say that "Xah Lee" <[EMAIL PROTECTED]> might have written: >Today we'll write a program that can sort a matrix in all possible >ways. > >Here's the Perl documentation. I'll post a Perl and Python version in 2 >days. Don't bother writing a Python version...

[perl-python] sorting matrixes

2005-03-22 Thread Xah Lee
Today we'll write a program that can sort a matrix in all possible ways. Here's the Perl documentation. I'll post a Perl and Python version in 2 days. --- sort_matrix( $matrix, [[$n1, $stringQ, $directionQ], [$n2, $stringQ, $directionQ], ...]) sorts a matrix by $n1 th column then $n2 th.