quick sort impls in c#