@classmethod
def query_route_short_names(cls, session, stop, filter_active=False):
    """
        :return an array of short names and types
        """
    from .route_stop import RouteStop
    short_names = []
    routes = stop.routes
    if routes is None or len(routes) == 0:
        routes = RouteStop.active_unique_routes_at_stop(session, stop_id=
            stop.stop_id)
        routes.sort(key=lambda x: x.route_sort_order, reverse=False)
    for r in routes:
        if filter_active and r.is_active() is False:
            continue
        sn = {'route_id': r.route_id, 'type': r.type, 'route_type': r.type.
            route_type, 'otp_type': r.type.otp_type, 'route_short_name': r.
            make_route_short_name(r)}
        short_names.append(sn)
    return short_names
