I'd like to see the route filtering and sorting logic (seen in https://github.com/OneBusAway/wayfinder/pull/260) extracted into a helper function that can be tested independently of a component.