def sort_songs_by_title(model, iter1, iter2, data=None):
    """Custom function to sort titles alphabetically."""
    title1 = model[iter1][1]
    title2 = model[iter2][1]

    if title1 < title2:
        return -1
    elif title2 < title1:
        return 1
    return 0