Sort:  

I can read code, I actually want the formula for my next project. I'll have a look at this and see if if I can translate it to python.

Cheers for the help :)