fix for issue #3047
unit test for issue #3047
fix for issue #3047
unit test for issue #3047
fix for issue #3047
fix for issue #3047
Merge branch 'fix/3.x/issue-3047' of https://github.com/serkan-ozal/hazelcast into fix/3.x/issue-3047

Conflicts:
	hazelcast/src/main/java/com/hazelcast/util/SortingUtil.java
fix for issue #3047
Merge branch 'fix/3.x/issue-3047' of github.com:serkan-ozal/hazelcast into maintenance-3.x