message: Better comment.
diff: @@ -228,12 +228,11 @@ const groupComparator = chainComparator(
  );
  /**
  - * This groups items for process depending on whether any general, other or raid mods are locked as follows
  - * - If there are general, other or raid mods locked it groups items by (stats, masterworked, modSlot, energyType).
  - * - If there are only general mods locked it groupes items by (stats, masterwork, energyType)
  - * - If no general, other or raid mods are locked it groups by (stats, masterworked).
  - *
  - * Note that assumedMasterwork effects this.
  + * This groups items for process so we can take the first item of the group for processing.
  + * It can do any number of the following, note that armour upgrades will effect these
  + * - It will create groups split by masterwork status
  + * - If there are energy requirements for slot independant mods it create groups split by energy type
  + * - If there are activity mods it will create groups split by specialty socket tag
  */
  function groupItems(
  defs: D2ManifestDefinitions | undefined,
  