GROOVY-6866: Cannot use @CompileStatic and @Sortable together (revised solution)