def METHOD_NAME(x, y):
    if x[1] and not y[1]:
        return -1
    if not x[1] and y[1]:
        return 1
    if x[0].lower() > y[0].lower():
        return 1
    if x[0].lower() < y[0].lower():
        return -1
    return 0