Fix issue-3: Fix Exception when sorting with a not existing property or ...

...the property value is null.