sort.data Function (GPL)
Syntax
sort.data()
Description
Sorts the categorical values in the order they appear in the data.
Note: If the data are pre-aggregated (for example, by using
a statistic function in the IBM® SPSS® Statistics GGRAPH
command),
this function will not work as expected because the categorical values
may be sorted during aggregation. Therefore, the GPL no longer knows
the order in which the categorical values appeared in the original
data.
Examples
SCALE: cat(dim(1), sort.data())