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

Home » Public Forums » archive » Inconsistency: "sort" on UNIX <-> Windows
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: Inconsistency: "sort" on UNIX <-> Windows [message #20720 is a reply to message #20542] Tue, 18 July 2000 00:00 Go to previous messageGo to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
David Fanning wrote:
>
> Daniel Luebbert (luebbert@stanford.edu) writes:

>> In other words: The "sort" routine on Windows doesn't preserve the
>> original order of entries which have the same value (see the 3
>> "1"-values in my test data), but apparently rearranges them in a random
>> way.
>>

>
> P.S. There is not much that can be done, except sort
> the other dimension by some consistent criteria (e.g.
> the "order" in the original array). Ugly, but perhaps
> necessary depending upon your application.
>
> David

... and for this you could use my multisort.pro which you find at
http://www.mpimet.mpg.de/~schultz.martin/idl/

Martin


--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: User-added Postscript fonts
Next Topic: Strange PRINTER Coordinates

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

Current Time: Sun Oct 12 02:24:20 PDT 2025

Total time taken to generate the page: 1.12132 seconds