              mask["stored_centering"] = "face"
  
      def _sort_alignments(self,
                           alignments: Dict[str, Dict[str, List[Tuple[int,
                                                                 AlignmentFileDict,
                                                                 str,
                                                                 dict]]]]
                           ) -> Dict[str, Dict[str, List[AlignmentFileDict]]] :
          """ Sort the faces into face index order as they appeared in the original alignments file.
  
          If the face index stored in the png header does not match it's position in the alignments
          file (i.e. A face has been removed from a frame) then update the header of the
          corresponding png to the correct index as exists in the newly created alignments file.
 
</s> remove                 for real_idx, (f_id, alignment, f_path, f_src) in enumerate(sorted(frames[frame])):
 </s> add                 for real_idx, (f_id, almt, f_path, f_src) in enumerate(sorted(frames[frame],
                                                                              key=itemgetter(0))): </s> remove                         self._update_png_header(f_path, real_idx, alignment, f_src)
                    this_file[frame].append(alignment)
 </s> add                         self._update_png_header(f_path, real_idx, almt, f_src)
                    this_file[frame].append(almt) </s> remove             min_max=(0.0, 25.0),
 </s> add             min_max=(0.0, 45.0), </s> remove             default=15,
 </s> add             default=22.5,
                                                              AlignmentFileDict,
                                                              str,
                                                              dict]]]]
                         ) -> Dict[str, Dict[str, List[AlignmentFileDict]]]:
              mask["stored_centering"] = "face"
  
      def _sort_alignments(self,
                           alignments: Dict[str, Dict[str, List[Tuple[int,
                                                              AlignmentFileDict,
                                                              str,
                                                              dict]]]]
                         ) -> Dict[str, Dict[str, List[AlignmentFileDict]]]:
                                                              AlignmentFileDict,
                                                              str,
                                                              dict]]]]
                         ) -> Dict[str, Dict[str, List[AlignmentFileDict]]]:
                                                              AlignmentFileDict,
                                                              str,
                                                              dict]]]]
                         ) -> Dict[str, Dict[str, List[AlignmentFileDict]]]:
                                                              AlignmentFileDict,
                                                              str,
                                                              dict]]]]
                         ) -> Dict[str, Dict[str, List[AlignmentFileDict]]]:
          """ Sort the faces into face index order as they appeared in the original alignments file.
  
          If the face index stored in the png header does not match it's position in the alignments
          file (i.e. A face has been removed from a frame) then update the header of the
          corresponding png to the correct index as exists in the newly created alignments file.
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Bugfix: Alignments tool sorting error in 'from-faces' 
tools/alignments/jobs.py