Thanks for your comment. It is true that if you are just trying to determine if a number is odd or even use modulo function.
In my case, as you can see in my article, the issue isn't trying to figure out if something is odd or even, but to force 1,2,3,4,5 to be 1,3,5,7,9
Or to force 1,2,3,4,5 to be 2,4,6,8,10
So then when you sort those rows together the records are interleaved. There is no way to use modulo to do that.