Sort:  

I assume that is on the white-paper, to make sure I asked @abit before posting, he knows the code inside out!