Given a certain score, to which bag does it belong to?
Bags are identified by their upper threshold; the value returned by this function is guaranteed
to be a member of
Note that even if the thresholds list does not have
T::Score::max_value() as its final member,
this function behaves as if it does.