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

Home » Public Forums » archive » How do you sort an array in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How do you sort an array in IDL? [message #11488] Thu, 02 April 1998 00:00
lematta is currently offline  lematta
Messages: 1
Registered: April 1998
Junior Member
Does anyone know how to sort an array in idl (ala excell) while preserving
the order of the other columns. For example, if I have a 10 by 10 array
with the second column being time, how do I sort the entire array by time and
have the values in the other columns follow. Like you'd do a sort in a
spreadsheet. Please reply to lematta@spawar.navy.mil. Many thanks in advance.
I've tried to figure out the sort function but I don't think it works on arraysswith more than one row or column.

Regards,

Robert
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL batch mode: Command line args?
Next Topic: RA/DEC->Alt/Az?

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

Current Time: Wed Oct 08 18:14:14 PDT 2025

Total time taken to generate the page: 0.00547 seconds