pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Documentation for SORT


From: John Darrington
Subject: Documentation for SORT
Date: Sat, 25 Aug 2007 20:24:57 +0800
User-agent: Mutt/1.5.13 (2006-08-11)

The documentation for sort says.

 The sort algorithms used by @cmd{SORT CASES} are stable.  That is,
 records that have equal values of the sort variables will have the
 same relative order before and after sorting.  As a special case,
 re-sorting an already sorted file will not affect the ordering of
 cases.

The last sentence confuses me.   Why is it a special case?  Isn't that
property necessary for a stable sort?

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]