We have a method that looks like this:
public EntityCollection<RoleMatrixEntity> GetRoleMatricesCommon(IPredicateExpression bucket,
RoleMatrixType type, SortExpression sorter,
int? pageNumber, int? pageSize)
For several reasons we had to change the implementation from traditional LLBLgen code to Linq to LLBLgen. How can we use the SortExpression in a Linq query?