docs: function objectSortByKey(data, key, reverse) {
      let keys = Object.keys(data);
      keys.sort((a, b) => {
          const aw = data[a][key] !== undefined ? parseInt(data[a][key], 10) : 0;
          const bw = data[b][key] !== undefined ? parseInt(data[b][key], 10) : 0;
          if (aw === bw) {
              return 0;
          }
  
          return reverse !== true && aw < bw ? -1 : 1;
      });
  
      keys.forEach((key) => {
          const value = data[key];
          delete data[key];
          data[key] = value;
      });
  }