Contents

sort(on:order:)

Arranges the rows of a data frame according to a column that you select by its column identifier.

Declaration

mutating func sort<T>(on columnID: ColumnID<T>, order: Order = .ascending) where T : Comparable

Parameters

  • order:

    A sorting order.

Discussion

See Also

Sorting a Data Frame