          dict
              The source filename as key with list of face indices for the frame as value
          """
          faces: Dict[str, List[int]] = {}
          for face in cast(Union[List[Tuple[str, "PNGHeaderDict"]],
                                 List[Tuple[str, "PNGHeaderSourceDict"]]],
                           self.file_list_sorted):
              src: "PNGHeaderSourceDict" = cast(
                  "PNGHeaderDict",
                  face[1])["source"] if self._with_alignments else cast("PNGHeaderSourceDict",
                                                                        face[1])
              faces.setdefault(src["source_filename"], []).append(src["face_index"])
          logger.trace(faces)  # type: ignore
          return faces
  
      def sorted_items(self) -> Union[List[Tuple[str, "PNGHeaderDict"]],
 
</s> remove     def sorted_items(self) -> Union[List[Tuple[str, "PNGHeaderDict"]],
                                    List[Tuple[str, "PNGHeaderSourceDict"]]]:
 </s> add     def sorted_items(self) -> List[Tuple[str, "PNGHeaderDict"]]: </s> remove         items = cast(Union[List[Tuple[str, "PNGHeaderDict"]],
                           List[Tuple[str, "PNGHeaderSourceDict"]]],
                     sorted(self.process_folder(), key=itemgetter(0)))
 </s> add         items = sorted(self.process_folder(), key=itemgetter(0)) </s> remove         for item in tqdm(cast(List[Tuple[str, "PNGHeaderSourceDict"]], self._items),
 </s> add         for item in tqdm(cast(List[Tuple[str, "PNGHeaderDict"]], self._items), </s> remove         kwargs: Dict[str, Union[bool, "AlignmentData"]] = dict(with_alignments=False)
 </s> add         kwargs = {}
        for face in cast(List[Tuple[str, "PNGHeaderDict"]], self.file_list_sorted):
            src = face[1]["source"]
          dict
              The source filename as key with list of face indices for the frame as value
          """
          faces: Dict[str, List[int]] = {}
        for face in cast(List[Tuple[str, "PNGHeaderDict"]], self.file_list_sorted):
            src = face[1]["source"]
        for face in cast(List[Tuple[str, "PNGHeaderDict"]], self.file_list_sorted):
            src = face[1]["source"]
        for face in cast(List[Tuple[str, "PNGHeaderDict"]], self.file_list_sorted):
            src = face[1]["source"]
        for face in cast(List[Tuple[str, "PNGHeaderDict"]], self.file_list_sorted):
            src = face[1]["source"]
        for face in cast(List[Tuple[str, "PNGHeaderDict"]], self.file_list_sorted):
            src = face[1]["source"]
        for face in cast(List[Tuple[str, "PNGHeaderDict"]], self.file_list_sorted):
            src = face[1]["source"]
        for face in cast(List[Tuple[str, "PNGHeaderDict"]], self.file_list_sorted):
            src = face[1]["source"]
              faces.setdefault(src["source_filename"], []).append(src["face_index"])
          logger.trace(faces)  # type: ignore
          return faces
  
      def sorted_items(self) -> Union[List[Tuple[str, "PNGHeaderDict"]],
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 Alignments Tool updates
  - Copy info back to alignments file from faces 
tools/alignments/media.py