the function that gets percentiles needs a sorted array

Link: https://github.com/GeneAssembly/biosal/issues/621
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>