  
      def sort_face_yaw(self):
          """ Sort by estimated face yaw angle """
          logger.info("Sorting by estimated face yaw angle..")
          self._loader = FacesLoader(self._args.input_dir)  # TODO This should be set in init
          filenames = []
          yaws = []
          for filename, image, metadata in tqdm(self._loader.load(),
                                                desc="Classifying Faces...",
                                                total=self._loader.count,
 
</s> remove         self._loader = FacesLoader(self._args.input_dir)  # TODO This should be set in init
 </s> add  </s> remove                                               desc="Classifying Faces...",
 </s> add                                               desc="Classifying Faces", </s> remove                                               desc="Classifying Faces...",
 </s> add                                               desc="Classifying Faces", </s> remove         matched_list = list(zip(filename_list, blurs))
        img_list = sorted(matched_list, key=operator.itemgetter(1), reverse=True)
        return img_list
 </s> add         return sorted(blurs, key=lambda x: x[1], reverse=True)
  
      def sort_face_yaw(self):
          """ Sort by estimated face yaw angle """
          logger.info("Sorting by estimated face yaw angle..")

          filenames = []
          yaws = []
          for filename, image, metadata in tqdm(self._loader.load(),
                                                desc="Classifying Faces...",
                                                total=self._loader.count,
keep keep keep keep replace keep keep keep keep keep
 tools.sort
  - Add sort by size
  - Centralize some of the image loading routines 
tools/sort/sort.py