Add ordering by modulus