function moduleListHtml (results) {
      let html = '';

      // Hoist the already selected items, and show them always
      // even if not matched by the current search.
      dropdownData.selectedMap.forEach((name, moduleId) => {
        html += createModuleListItem(moduleId, name, true);
      });

      for (let i = 0; i < results.length; i++) {
        const mod = results[i].obj;
        if (!dropdownData.selectedMap.has(mod.moduleId)) {
          html += createModuleListItem(mod.moduleId, mod.name, false);
        }
      }
      return html;
    }
@param {Array} Results from fuzzysort
@return {string} HTML