change order of criterions applying