sorting fix

This commit is contained in:
Manuel Simon Hirsig
2016-02-22 15:54:59 +01:00
parent 8526b8bfe2
commit 45920f81aa
+2 -2
View File
@@ -356,8 +356,8 @@ local methods = {
-- sort by percent
return SortHelperFunc(a, b, 'percent')
end
-- as a last resort compare table ids to ensure a total order
return tostring(record_a) < tostring(record_b)
-- as a last resort compare search signatures to ensure a total order
return record_a.search_signature < record_b.search_signature
end
if self.sortInfo.descending then
return aVal > bVal