Describe filters and sorts as data with the Sphere10 Framework filter model: FilterBuilder creates a tree of conditions and groups, FilterCompiler turns it into a LINQ expression with operand conversion, and ApplyQuery filters, sorts and pages a sequence in one call.
Read article