code: function getSections() {
      var sections = [];
      // add sections we know about
      for (var name in builtinSections)
        sections.push(builtinSections[name]);
      // add other sections
      for (var i in Espruino.Core.Config.data) {
        var c = Espruino.Core.Config.data[i];
        
        var found = false;
        for (var s in sections)
          if (sections[s].name == c.section)
            found = true;
        
        if (!found) {
          console.warn("Section named "+c.section+" was not added with Config.addSection");
          sections[c.section] = {
              name : c.section,
              sortOrder : 0
          };        
        }
      }
      // Now sort by sortOrder
      sections.sort(function (a,b) { return a.sortOrder - b.sortOrder; });
      
      return sections;
    }
docs: Get an object containing information on all 'sections' used in all the configs