function (table
as table, optionalcomparisonCriteria
as nullable any, optionalcountOrCondition
as nullable any) as table
table
, given the comparisonCriteria
. After the rows are sorted, the countOrCondition
parameter must be specified to further filter the result. Note the sorting algorithm cannot guarantee a fixed sorted result. The countOrCondition
parameter can take multiple forms: Table.FromRecords({[a = 0, b = 0], [a = 2, b = 4]})
Table.FromRecords({})