[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inconsistency: "sort" on UNIX <-> Windows
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 [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[