add method to control usage of java 8 in sort ordering for older packs