bugfix if a field in a bean is null. Then sort throwed a npe.
created unit test for it.