ABAP Keyword Documentation →  ABAP − Short Reference → 

SORT - Short Reference

Reference

Syntax

SORT [ASCENDING|DESCENDING]
     [AS TEXT]
     [STABLE]
     [BY {field1 [ASCENDING|DESCENDING] [AS TEXT]}
         {field2 [ASCENDING|DESCENDING] [AS TEXT]}
         ...].


Effect

Obsolete: Sorts the extract dataset after the field group header.

Additions