There is already one Sort by length filter. Then the shortest segments are at the beginning.
However, sometimes it makes really sense to have the longest segments at the beginning. Would that be feasible?
Maybe a revert feature that also affects the "Sort alphabetically" filter (so then starting with Z).