Corrected order comparison