@accepts(RB.RhythmDBEntry, RB.RhythmDBEntry, gpointer) @returns(gint) def double_ceiling_sort_func(a, b, data)
Sort function for sorting by a rounded floating point value. The property value is rounded up to an integer value for sorting. If the values are the same, falls back to sorting by location.
a : |
|
b : |
|
data : |
property to sort on |
Returns : |
result of sort comparison between a and b. |