fun compare(o1: Long, o2: Long): Int { if (o1 < o2) return 1 return if (o1 > o2) -1 else 0 }
Comparator puts the entries into descending order by the query execution time ( longest running queries are first ) .