code: function sortDocs(docs, sortType) {
      if (!sortType) return;
      const fnSorter = sorter.getSymbolsComparer(sortType, '$longname');
      const fnPropSorter = sorter.getSymbolsComparer(sortType, 'name');
      docs.sort(fnSorter);
      docs.forEach(symbol => {
          if (symbol && Array.isArray(symbol.properties)) {
              symbol.properties.sort(fnPropSorter);
          }
      });
  }
docs: sorts documentation symbols and properties of each symbol, if any.