added ordering test