title_sort_func

@accepts(RB.RhythmDBEntry, RB.RhythmDBEntry, gpointer)
@returns(gint)
def title_sort_func(a, b, data)

Sort function for sorting by title. Falls back to sorting by location if the titles are the same.

a :

a RB.RhythmDBEntry

b :

a RB.RhythmDBEntry

data :

nothing

Returns :

result of sort comparison between a and b.