Previous Page | Next Page

Base SAS 9.2 Procedures Guide

The SORT Procedure

Overview: SORT Procedure
Syntax: SORT Procedure
PROC SORT Statement
BY Statement
KEY Statement
Concepts: SORT Procedure
In-Database Processing: PROC SORT
Integrity Constraints: SORT Procedure
Results: SORT Procedure
Examples: SORT Procedure
Example 1: Sorting by the Values of Multiple Variables
Example 2: Sorting in Descending Order
Example 3: Maintaining the Relative Order of Observations in Each BY Group
Example 4: Retaining the First Observation of Each BY Group

Previous Page | Next Page | Top of Page