public static IRepositoryQuery <T> SortAscending <T>(this IRepositoryQuery <T> query, Expression <Func <T, object> > objectPath) where T : class { return(query.Sort(objectPath, SortOrder.Ascending)); }