Added a sort to the devices dropdown