  
  class Sort(object):
      def __init__(self, arguments):
          self.args = arguments
          self.changes = None
          self.serializer = None
 
</s> remove                 if f1encs is not None and f2encs is not None and len(
                        f1encs) > 0 and len(f2encs) > 0:
 </s> add                 if f1encs and f2encs: </s> remove             img_list[i + 1] = img_list[j_min_score]
            img_list[j_min_score] = img_list[i + 1]

 </s> add             (img_list[i + 1],
             img_list[j_min_score]) = (img_list[j_min_score],
                                       img_list[i + 1]) </s> remove             img_list[i + 1] = img_list[j_min_score]
            img_list[j_min_score] = img_list[i + 1]

 </s> add             (img_list[i + 1],
             img_list[j_min_score]) = (img_list[j_min_score],
                                       img_list[i + 1]) </s> remove             img_list[i + 1] = img_list[j_min_score]
            img_list[j_min_score] = img_list[i + 1]

 </s> add             (img_list[i + 1],
             img_list[j_min_score]) = (img_list[j_min_score],
                                       img_list[i + 1]) </s> remove 
            return renaming

 </s> add 
    """ Sorts folders of faces based on input criteria """
  
  class Sort(object):
    """ Sorts folders of faces based on input criteria """
      def __init__(self, arguments):
          self.args = arguments
          self.changes = None
          self.serializer = None
keep add keep keep keep keep
 Sort tool bugfixes and linting 
tools/sort.py