Fixes #3271 : ExpirationManager partition sorting problem.

Issue is here https://github.com/hazelcast/hazelcast/issues/3271

- Problem occurs on JDKs which are using Timsort algorithm.
- And hard to present it in a test case so this PR is not including a test for the fix.