Updated the mainpaige.

Sorts the sensors by name.