functions, as in the Hilbert_sort_[23] classes. (makes hilbert_sort() in sync with its documentation)