WIP: giving the comparison function in the same compilation unit make the sort function quite faster.