Improve nullsFirst/nullsLast handling for JPA