Adding ordering to sensors