Contents

sort(byIncreasingOrder:)

Returns a new MLUntypedColumn containing values sorted by the specified order.

Declaration

func sort(byIncreasingOrder: Bool = true) -> MLUntypedColumn

Parameters

  • byIncreasingOrder:

    A boolean indicating whether to sort values in ascending or descending order. The default is true, sorted by ascending order.

Return Value

A MLUntypedColumn sorted by the specified order.