public static function sort(array &$range) {
        usort($range, function(TimePoint $a, TimePoint $b) {
            return $a->compare($b);
        });
        return $range;
    }
public static function sort(array &$range) {
        usort($range, function(TimePoint $a, TimePoint $b) {
            return $a->compare($b);
        });
        return $range;
    }
public static function sort ( array & $ range ) { usort ( $ range , function ( TimePoint $ a , TimePoint $ b ) { return $ a -> compare ( $ b ) ; } ) ; return $ range ; }
Sorts a range of TimePoint
@param array $range
@return array
Sorts a range of TimePoint