private IOrderedQueryable<T> ApplyStupidSorting<T, TKey>(IQueryable<T> queryable, Expression<Func<T, TKey>> predicate, SortOrderType sortOrder, ProfessionSort sortType)
{
return sortOrder == SortOrderType.Asc
? queryable.OrderBy(predicate)
: queryable.OrderByDescending(predicate);
}