sort modes work with quantiles