public JsonResult GetImages() { var images = new ImageDB().Headers; images = images.OrderBy(image => image.Id.CreationTime); var ids = images.Select(image => image.Id.ToString()); return(Json(ids)); }