Contents

sort(comparator:)

Sorts the receiver in ascending order using the comparison method specified by a given Comparator block.

Declaration

func sort(comparator cmptr: (Any, Any) -> ComparisonResult)

Parameters

  • cmptr:

    A comparator block.

See Also

Related Documentation

Rearranging Content