  import logging
  import os
  import sys
  import operator
  from concurrent import futures
  from shutil import copyfile
  from typing import List
  
 
</s> remove logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add logger = logging.getLogger(__name__) </s> remove "L|'color-gray': Sort images by the average intensity of the converted grayscale color channel.\n"
"L|'color-luma': Sort images by the average intensity of the converted Y color channel. Bright lighting and oversaturated images will be ranked first.\n"
"L|'color-green': Sort images by the average intensity of the converted Cg color channel. Green images will be ranked first and red images will be last.\n"
"L|'color-orange': Sort images by the average intensity of the converted Co color channel. Orange images will be ranked first and blue images will be last.\n"
"L|'size': Sort images by their size in the original frame. Faces closer to the camera and from higher resolution sources will be sorted first, whilst faces further from the camera and from lower resolution sources will be sorted last.\n"
"L|'black-pixels': Sort images by their number of black pixels. Useful when faces are near borders and a large part of the image is black.\n"
 </s> add "L|'color-gray': Sort images by the average intensity of the converted "
"grayscale color channel.\n"
"L|'color-luma': Sort images by the average intensity of the converted Y "
"color channel. Bright lighting and oversaturated images will be ranked "
"first.\n"
"L|'color-green': Sort images by the average intensity of the converted Cg "
"color channel. Green images will be ranked first and red images will be "
"last.\n"
"L|'color-orange': Sort images by the average intensity of the converted Co "
"color channel. Orange images will be ranked first and blue images will be "
"last.\n"
"L|'size': Sort images by their size in the original frame. Faces closer to "
"the camera and from higher resolution sources will be sorted first, whilst "
"faces further from the camera and from lower resolution sources will be "
"sorted last.\n"
"L|'black-pixels': Sort images by their number of black pixels. Useful when "
"faces are near borders and a large part of the image is black.\n" </s> remove             alignments = metadata["alignments"]
 </s> add             alignments = metadata["itxt"]["alignments"] </s> remove #: tools/sort/cli.py:52
 </s> add #: tools/sort/cli.py:62
from argparse import Namespace
  import logging
  import os
  import sys
  import operator
from argparse import Namespace
  from concurrent import futures
  from shutil import copyfile
  from typing import List
  
keep keep keep add keep keep keep keep
 Sort - Add Batch Mode. Speed up yaw sort 
tools/sort/sort.py