I been looking at the recent blog post by Jeff Atwood on Alternate Sorting Orders. I tried to convert the code in the post to C# but I ran into an issue. There is no function in
Look up implementations of the error function. There was one in all the classic Numerical Recipes in ... books.