Table of Contents

Sort Lookup Table

Description

Sort the content of a lookup table.

Inputs

Name Type Description
Values Or Ids Lookup Table Type The input list of values or ids. The keys are used to specify the order of the values or ids in this list. This list is used as a list of values if the additional list is not provided. Otherwise, the list is assumed to represent ids whose values are specified in the property list.

Optional Inputs

Name Type Description
Use Ascending Order Boolean Table Type If true, the list is sorted from lowest to highest (ascending order). Otherwise, the list is sorted from highest to lowest (descending order).
Properties Lookup Table Type List specifying the values corresponding to the ids provided by the \“valuesOrIds\” list.

Outputs

Name Type Description
Sorted Values Or Ids Lookup Table Type List of sorted values or ids.

Group

LookupTable

Notes

The keys of the input table indicate only the order of the values in the table. Therefore, the input table corresponds to a list in which the keys are the indices and the values are the elements. The same applies to the output table.

Internal Name

SortLookupTable