order_by


Description:

public Seq<G> order_by (owned CompareDataFunc<G>? compare = null)

Returns a seq which contains the elements of this seq, sorted based on the given compare function. The sort is stable.

This is a stateful intermediate operation.

Parameters:

compare

a non-interfering and stateless compare function. if not specified, Gee.Functions.get_compare_func_for is used to get a proper function

Returns:

the new seq