Reflection based extension methods for sorting. Unit tests