The comparison method does not give a total order when there are empty cells in the sorted column, breaking the sorting. Steps to reproduce:
Expected result: The table is sorted in descending order of values for `Column A`, using `id` as a fallback when the values for `Column A` are equal. Actual result: The query fails with a "IllegalArgumentException: Comparison method violates its general contract!" error message. |