CMS-3496 Use Java 8 in project. Looks like some array implementations will store data in other order.