string_sort_func

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

Sort function for sorting by a single string property Falls back to location sort order if the strings are equal.

a :

a RB.RhythmDBEntry

b :

a RB.RhythmDBEntry

data :

property to sort on

Returns :

result of sort comparison between a and b.