def get_thresholds(keys):
    """Returns non-str thresholds of iterable.

    Args:
        keys (iterable): Iterable, that is the result of
          :func:`delay_segments.keys()`.
    """
    return sorted(list(filter(lambda x: not isinstance(x, str), keys)))
