private SortOrder CreateSort(LoadParams loadParams)
        {
            SortOrder order = null;

            if (!string.IsNullOrWhiteSpace(loadParams.Sort))
            {
                order = new SortOrder();
                order.AddSortOrder(loadParams.Sort, ascending: loadParams.Ascending);
            }
            return(order);
        }