Skip to main content

sort_compare

Function sort_compare 

Source
pub unsafe extern "C" fn sort_compare(a: Sort, b: Sort) -> i64
Expand description

Compare two sorts for ordering. @param a The first sort. @param b The second sort. @return An integer value indicating the ordering: 0 if both sorts are equal, -1 if a < b, and 1 if b > a.