Contents

sort(byIncreasingOrder:)

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

Declaration

func sort(byIncreasingOrder: Bool = true) -> MLDataColumn<Element>

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 MLDataColumn sorted by the specified order.