          """ Re-Index the faces """
          reindexed = 0
          for alignment in tqdm(self.alignments.get_alignments_one_image(),
                                desc="Sort alignment indexes",
                                total=self.alignments.count):
              frame, alignments, count, key = alignment
              if count <= 1:
                  continue
              sorted_alignments = sorted([item for item in alignments],
                                         key=lambda x: (x[self.axis]))
 
</s> remove         for alignment in tqdm(self.alignments.get_alignments_one_image(),
 </s> add         for alignment in tqdm(self.alignments.yield_faces(), </s> remove             self.alignments.alignments[key] = sorted_alignments
 </s> add             self.alignments.data[key] = sorted_alignments </s> remove         processor = self.alignments.get_one_alignment_index_reverse
 </s> add         processor = self.alignments.yield_original_index_reverse </s> remove         count = sum(1 for val in self.alignments.alignments.values() if val)
 </s> add         count = sum(1 for val in self.alignments.data.values() if val) </s> remove         for key in tqdm(sorted(self.alignments.alignments.keys()),
 </s> add         for key in tqdm(sorted(self.alignments.data.keys()),
                              total=self.alignments.frames_count):
          """ Re-Index the faces """
          reindexed = 0
          for alignment in tqdm(self.alignments.get_alignments_one_image(),
                                desc="Sort alignment indexes",
                              total=self.alignments.frames_count):
              frame, alignments, count, key = alignment
              if count <= 1:
                  continue
              sorted_alignments = sorted([item for item in alignments],
                                         key=lambda x: (x[self.axis]))
keep keep keep keep replace keep keep keep keep keep
 Fix convert-adjust (#531)

* Add dimensions to alignments + refactor

* Add frame_dims + funcs to DetectFaces. Add alignments lib

* Convert Adjust working

* Refactor and tidy up 
tools/lib_alignments/jobs.py