date_sort_func

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

Sort function for sorting by release date. Falls back to album sort order for equal dates.

a :

a RB.RhythmDBEntry

b :

a RB.RhythmDBEntry

data :

nothing

Returns :

result of sort comparison between a and b.