          blurs = [self.estimate_blur(img) for img in image_list]
  
          return img_list
  
      def sort_face(self):
          """ Sort by identity similarity """
          logger.info("Sorting by identity similarity...")
 
</s> remove         """ Sort by face similarity """
        input_dir = self.args.input_dir
 </s> add         """ Sort by identity similarity """
        logger.info("Sorting by identity similarity...")
        filename_list, image_list = self._get_images() </s> remove         img_list = sorted(img_list, key=operator.itemgetter(1), reverse=True)
 </s> add         logger.info("Estimating blur...")
        blurs = [self.estimate_blur(img) for img in image_list] </s> remove         """ Sort by CNN similarity """
        self.launch_aligner()
        input_dir = self.args.input_dir
 </s> add         """ Sort by landmark similarity """
        logger.info("Sorting by landmark similarity...")
        filename_list, image_list, landmarks = self._get_landmarks()
        img_list = list(zip(filename_list, landmarks)) </s> remove         """ Sort by histogram of face similarity """
        input_dir = self.args.input_dir

 </s> add         """ Sort by image histogram similarity """
        logger.info("Sorting...")
        matched_list = list(zip(filename_list, blurs))
        img_list = sorted(matched_list, key=operator.itemgetter(1), reverse=True)
          blurs = [self.estimate_blur(img) for img in image_list]
  
        logger.info("Sorting...")
        matched_list = list(zip(filename_list, blurs))
        img_list = sorted(matched_list, key=operator.itemgetter(1), reverse=True)
          return img_list
  
      def sort_face(self):
          """ Sort by identity similarity """
          logger.info("Sorting by identity similarity...")
keep add keep keep keep keep keep
 ENHANCEMENT: Sort image multi-threading and code clarity (#912)

* Use multi-threaded loading

* fast reload

* remove landmark stub

* saves

* correct face sort

* pep8 
tools/sort.py