Functional sort in C#

On an internal mailing list, we were discussing functional languages, and this Haskell sort code: qsort []     = []qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++ qsort (filter (>= x) xs) While trying to explain how this code works (which is very different from what it looks like to C++/C# programmers due to…

0