in scancode/scanCode.py [0:0]
def sort_key(p): """Define sort key for error listing as the filename.""" # Filename is the 0th entry in tuple return p[0]