This project is read-only.
You can now easily download the Dynamite package via NuGet by following this link:

Project Description
Easy-to-use and high performance dynamic sorting library supporting SQL-like syntax and complex/nested expressions, that uses System.Linq.Expression to dynamically build fast comparers.

With this library you can sort a List<T> using a textual sort expression:

List<Person> person;

person.Sort("Name.Length, BirthDate DESCENDING");

You can also use LINQ style OrderBy like this:
// Print names ordered by year of birth (and then by Name).
foreach( Person p in persons.OrderBy("BirthDate.Year, Name")

Dynamite uses the System.Linq.Expression namespace to build and compile fast running comparer. Please read more about this library in the article below.

  1. Dynamite: High Performace Dynamic Sorting Using Expressions Article describing usage and design of Dynamite library.

Last edited Jul 12, 2012 at 10:29 AM by henjon, version 5