reverse_order_by
Description:
[ Version ( since = "0.4.0-alpha" ) ]
public Seq<G> reverse_order_by (owned CompareDataFunc<G>? compare = null)
public Seq<G> reverse_order_by (owned CompareDataFunc<G>? compare = null)
Returns a seq which contains the elements of this seq, sorted based on the given compare function, but in descending order. The sort is stable.
This is equivalent to:
seq.order_by( Compares.reverse<G>(compare) );
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 |