public ServiceResponse <List <BusJourneyInfo> > GetBusJourneys(ServiceRequest <BusJourneyFilter> request) { var serviceResponse = _journeyService.GetBusJourneys(request); var response = _responseHandler.HandleServiceResponse(serviceResponse); if (response.Status == ResponseStatus.Success) { response.Data.Sort(delegate(BusJourneyInfo x, BusJourneyInfo y) { return(x.Journey.Departure.CompareTo(y.Journey.Departure)); }); } return(response); }