sort(comparator:)
Sorts the mutable ordered set using the comparison method specified by the comparator block.
Declaration
func sort(comparator cmptr: (Any, Any) -> ComparisonResult)Parameters
- cmptr:
A comparator block.
Sorts the mutable ordered set using the comparison method specified by the comparator block.
func sort(comparator cmptr: (Any, Any) -> ComparisonResult)A comparator block.