          return img_list
  
      def sort_face_cnn_dissim(self):
          """ Sort by CNN dissimilarity """
          self.launch_aligner()
          input_dir = self.args.input_dir
  
          logger.info("Sorting by face-cnn dissimilarity...")
  
          img_list = []
 
</s> remove         self.launch_aligner()
 </s> add         self.launch_aligner(self.args.loglevel) </s> remove         self.launch_aligner()
 </s> add         self.launch_aligner(self.args.loglevel) </s> remove         queue_manager.get_queue("in").put(self.alignment_dict(image))
 </s> add         queue_manager.get_queue("in").put(Sort.alignment_dict(image)) </s> remove     def get_landmarks(self, filename):
        """ Get landmarks for current image """
 </s> add     @staticmethod
    def get_landmarks(filename):
        """ Extract the face from a frame (If not alignments file found) """ </s> remove         return face["detected_faces"][0].landmarksXY
 </s> add         landmarks = face["landmarks"][0]
        return landmarks
        self.launch_aligner(self.args.loglevel)
          return img_list
  
      def sort_face_cnn_dissim(self):
          """ Sort by CNN dissimilarity """
        self.launch_aligner(self.args.loglevel)
          input_dir = self.args.input_dir
  
          logger.info("Sorting by face-cnn dissimilarity...")
  
          img_list = []
keep keep keep keep replace keep keep keep keep keep
 Staging sort fix (#584)

* fixed several bugs that prevented sort algorithms from beeing working in staging branch.
face-cnn, face-cnn-dissim and face-yaw now working again
blur, face, hist, hist-dissim already worked before
face-dissim still has an error

* applied requested changes from torzdf 
tools/sort.py