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
//standard normal cumulative distribution function
static double F(double x)
{
MathNet.Numerics.Distributions.Normal result = new MathNet.Numerics.Distributions.Normal();
return result.CumulativeDistribution(x);
}