Added sane ordering rules.