Help in CHKPTS

Here is my solution. The first map sorts the points according to x-y, the second one sorts them according to (x%c). I have followed everything in the tutorial. Tell me my silly mistake please.