From 90ad684b55fa7aeef3e5f783d212d72cb9984853 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 19 Mar 2005 21:05:10 +0000 Subject: [PATCH] AGGREGATE's sort is stable. --- doc/transformation.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/transformation.texi b/doc/transformation.texi index 9225ca80..d94c1366 100644 --- a/doc/transformation.texi +++ b/doc/transformation.texi @@ -103,6 +103,9 @@ format is F5.3. @item FIRST(var_name) First non-missing value in break group. The aggregation variable receives the complete dictionary information from the source variable. +The sort performed by AGGREGATE (and by SORT CASES) is stable, so that +the first case with particular values for the break variables before +sorting will also be the first case in that break group after sorting. @item FOUT(var_name, low, high) Fraction of values strictly outside the specified range of constants. @@ -111,6 +114,9 @@ The default format is F5.3. @item LAST(var_name) Last non-missing value in break group. The aggregation variable receives the complete dictionary information from the source variable. +The sort performed by AGGREGATE (and by SORT CASES) is stable, so that +the last case with particular values for the break variables before +sorting will also be the last case in that break group after sorting. @item MAX(var_name) Maximum value. The aggregation variable receives the complete -- 2.30.2