Sorts features by a selected attribute's value. The features leave the transformer in the order specified, and are output through the Sorted port.
This transformer tries to balance speed and memory usage by storing some features in memory and some in a temporary disk file.
After you place and connect the transformer, choose the attribute(s) to sort.
Each attribute can be sorted alphabetically or numerically and can be sorted either in ascending or descending order. By default, the sort direction is in ascending order. Alphabetic ordering will sort according to ASCII ordering rules.
Attributes are sorted according to their position in the list. You can reorder the list using the Move Up and Move Down buttons.
If an attribute name is specified but is not present on a feature, the sorting algorithm will consider that feature to have a null or zero value for that attribute.
In Alphabetic mode, missing and null attribute values are treated as the empty string when they are sorted. In Numeric mode, non-numeric attribute values are treated as the value 0 when they are sorted. For example, missing, null, the empty string, and the string "apple" are all treated as the value 0 in Numeric mode.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.