Since the thresholds are sorted from low to high values, they
are reversed upon returning them to ensure they correspond to both fpr
and tpr, which are sorted in reversed order during their calculation.