public <C, V> ResultTransformer<Table<K, C, V>> asTable(final Expression<C> column, final Expression<V> expression) {
        final Expression<C> columnKeyLookup = getLookup(column);
        final Expression<V> lookup = getLookup(expression);
        return new GroupByTable<K, C, V, Table<K, C, V>>(key, column, expression) {
            @Override
            protected Table<K, C, V> transform(Table<K, ?, Group> groups) {
                Table<K, C, V> results = HashBasedTable.create();
                for (Cell<K, ?, Group> cell : groups.cellSet()) {
                    K rowKey = cell.getRowKey();
                    C columnKey = cell.getValue().getOne(columnKeyLookup);
                    V value = cell.getValue().getOne(lookup);
                    results.put(rowKey, columnKey, value);
                }
                return results;
            }
        };
    }
Get the results as sorted table

@param column column expression
@param expression value expression
@param <C> Column type
@param <V> Value type
@return new result transformer
querydsl-guava/src/main/java/com/querydsl/core/group/guava/GuavaGroupByBuilder.java