use unmodifiable field during sorting
Merge pull request #3279 from ahmetmircik/fix/3.3/sortJDK7

Fixes #3271 : ExpirationManager partition sorting problem.