Module agnes::apply::sort[][src]

Sorting functions for agnes data structures.

Structs

SortOrderFn

Function (implementing Func) sorting values in a data field and returning the sorted permutation of values.

Traits

DtOrd

Trait for data types that are ordered. Used for ordering of data types inside of agnes data structures instead of Ord, but like Ord, returns std::cmp::Ordering.

Functions

sort_order

Returns the permutation (list of indices in sorted order) of values in field represented by the provided DataIndex. Uses the DtOrd trait for computing the ordering.