Sort the device list in devices.hpp, and add MAX31730.

Tested: max31730 driver is applied correctly with proper config setup,
and devices are showing up in busctl successfully.

Signed-off-by: Alex Qiu <xqiu@google.com>
Change-Id: Ib37bd634cf0ef3a5efa7c4c809b7fff9136e7e77
diff --git a/include/devices.hpp b/include/devices.hpp
index 58636a4..85a82a5 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -38,13 +38,30 @@
 
 const boost::container::flat_map<const char*, ExportTemplate, CmpStr>
     exportTemplates{
-        {{"EEPROM", ExportTemplate("eeprom $Address",
-                                   "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
-         {"24C02", ExportTemplate("24c02 $Address",
+        {{"24C02", ExportTemplate("24c02 $Address",
                                   "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
          {"24C64", ExportTemplate("24c64 $Address",
                                   "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+         {"EEPROM", ExportTemplate("eeprom $Address",
+                                   "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+         {"EMC1413",
+          ExportTemplate("emc1413 $Address",
+                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
          {"Gpio", ExportTemplate("$Index", "/sys/class/gpio/export")},
+         {"INA230", ExportTemplate("ina230 $Address",
+                                   "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+         {"ISL68137",
+          ExportTemplate("isl68137 $Address",
+                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+         {"MAX31725",
+          ExportTemplate("max31725 $Address",
+                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+         {"MAX31730",
+          ExportTemplate("max31730 $Address",
+                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+         {"MAX34451",
+          ExportTemplate("max34451 $Address",
+                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
          {"PCA9543Mux",
           ExportTemplate("pca9543 $Address",
                          "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
@@ -60,31 +77,17 @@
          {"PCA9547Mux",
           ExportTemplate("pca9547 $Address",
                          "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
-         {"MAX31725",
-          ExportTemplate("max31725 $Address",
-                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
          {"pmbus", ExportTemplate("pmbus $Address",
                                   "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
-         {"MAX34451",
-          ExportTemplate("max34451 $Address",
-                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
-         {"TMP75", ExportTemplate("tmp75 $Address",
-                                  "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+         {"TMP112", ExportTemplate("tmp112 $Address",
+                                   "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
          {"TMP175", ExportTemplate("tmp175 $Address",
                                    "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
          {"TMP421", ExportTemplate("tmp421 $Address",
                                    "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
          {"TMP441", ExportTemplate("tmp441 $Address",
                                    "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
-         {"EMC1413",
-          ExportTemplate("emc1413 $Address",
-                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
-         {"TMP112", ExportTemplate("tmp112 $Address",
-                                   "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
-         {"ISL68137",
-          ExportTemplate("isl68137 $Address",
-                         "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
-         {"INA230",
-          ExportTemplate("ina230 $Address",
+         {"TMP75",
+          ExportTemplate("tmp75 $Address",
                          "/sys/bus/i2c/devices/i2c-$Bus/new_device")}}};
 } // namespace devices