Order Data Using Formats: Procedure Default Behavior
The FREQ, MEANS, SUMMARY, and TABULATE procedures default to order class
variable values in ascending order by the actual value in the SAS data set and not their
formatted values.
The REPORT procedure default order is ascending order based on the formatted values
of the order, group, or across variable.
The following table summarizes the default ordering schemes for procedures when
formats are applied to classification variables:
ProcedureVariable TypeFormat SpecifiedOrdered By
FREQNumeric or CharacterYes or NoActual value
MEANSNumeric or ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.