LPS-45318 Changed call to comparator constructor (push together with liferay-portal's 7ab696c130)