sortAndFilterByCumsumprop function

Sort a numeric vector and filter by a threshold of cumsumprop