Sort device list by device type