From: Albert S. <fu...@gm...> - 2006-10-23 23:50:46
|
Hello all > -----Original Message----- > From: num...@li... [mailto:numpy- > dis...@li...] On Behalf Of Travis Oliphant > Sent: Tuesday, October 24, 2006 12:04 AM > To: Discussion of Numerical Python > Subject: Re: [Numpy-discussion] Strange results when sorting array > withfields > <snip> > It turns out, it was not so difficult to implement this and is now in SVN. > > So, the VOID_compare now does something a little more intelligent when > fields are defined which means that record arrays can now be > lexicographically sorted more easily than using lexsort and take (as > long as the fields are ordered according to how you want the sort to > proceed). Thanks very much for this! I played around and it works like a charm. Cheers, Albert |