comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to sort data based on other sorted data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to sort data based on other sorted data [message #58006 is a reply to message #57994] Wed, 09 January 2008 13:30 Go to previous messageGo to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
On Jan 9, 4:03 pm, wlandsman <wlands...@gmail.com> wrote:
> On Jan 9, 2:24 pm, placebo <willie.mad...@gmail.com> wrote:
> In order to keep this post short lets say the
>
>> data file has 8 coordinates scrambled in the list, and I want to sort
>> it first by the 'z' coordinate (3rd column) then by the 'y' coordinate
>> (2nd column) then finally by the 'x' column. for example:
>
> try Craig Markwardt's multisort
>
> http://astrog.physics.wisc.edu/~craigm/idl/arrays.html#MULTI SORT

I would be interested in seeing a benchmark of the two methods, your
nested loop method and the oddness that is multisort. That is a heck
of a routine...

Cheers,

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to Auto Insert IDL 7 Template
Next Topic: IDL Workbench Nits

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 12:14:47 PDT 2025

Total time taken to generate the page: 0.48993 seconds