-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 5.0.10, Freshly
-
Component/s: Components
-
None
If you look into the method FieldComparator.compare0(), it is clear, that the ascending/descending flag is only considered if both comparator values are not null.
This means, null values are always on top of a sorted list (by default null is considered as smallest), no matter of the sort direction of the column.
If needed, I can also prepare an example, although I think it is pretty obvious from looking at the code.