Implementation of some sorting algorithms as C# extensions