                  logger.trace("0 or 1 face in frame. Not sorting: '%s'", frame)
                  continue
              sorted_alignments = sorted(alignments, key=lambda x: (x["x"]))
              if sorted_alignments == alignments:
                  logger.trace("Alignments already in correct order. Not sorting: '%s'", frame)
                  continue
              logger.trace("Sorting alignments for frame: '%s'", frame)
              self._alignments.data[key]["faces"] = sorted_alignments
              reindexed += 1
          logger.info("%s Frames had their faces reindexed", reindexed)
 
</s> remove             logger.trace("Sorting alignments for frame: '%s'", frame)
 </s> add             logger.trace("Sorting alignments for frame: '%s'", frame)  # type:ignore </s> remove                 logger.trace("0 or 1 face in frame. Not sorting: '%s'", frame)
 </s> add                 logger.trace("0 or 1 face in frame. Not sorting: '%s'", frame)  # type:ignore </s> remove                 logger.verbose("skipping invalid file: '%s'", filename)
 </s> add                 logger.verbose("skipping invalid file: '%s'", filename)  # type:ignore </s> remove                 logger.verbose("Skipping '%s' - Alignments not found", frame_name)
 </s> add                 logger.verbose("Skipping '%s' - Alignments not found", frame_name)  # type:ignore </s> remove     def _sort_alignments(self, alignments: dict) -> dict:
 </s> add     def _sort_alignments(self,
                         alignments: Dict[str, Dict[str, List[Tuple[int,
                                                               AlignmentFileDict,
                                                               str,
                                                               dict]]]]
                         ) -> Dict[str, Dict[str, List[AlignmentFileDict]]] :
                logger.trace("Alignments already in correct order. Not "  # type:ignore
                             "sorting: '%s'", frame)
                  logger.trace("0 or 1 face in frame. Not sorting: '%s'", frame)
                  continue
              sorted_alignments = sorted(alignments, key=lambda x: (x["x"]))
              if sorted_alignments == alignments:
                logger.trace("Alignments already in correct order. Not "  # type:ignore
                             "sorting: '%s'", frame)
                  continue
              logger.trace("Sorting alignments for frame: '%s'", frame)
              self._alignments.data[key]["faces"] = sorted_alignments
              reindexed += 1
          logger.info("%s Frames had their faces reindexed", reindexed)
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Alignments tool - don't error on from-faces job 
tools/alignments/jobs.py