public async Task <JsonResult> getTravelDocumentType() { var traveldocument = await Logical.GetTravelDocuments(); traveldocument.Object.Items = traveldocument.Object.Items.OrderBy(x => x.DocumentType).ToList(); return(new JsonResult { Data = traveldocument, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }