private Map<String, Object> sortColumns(Map<String, Object> next) {
		Map<String, Object> sortedColumns = new LinkedHashMap<>();
		if ( this.columns != null ) {
			for ( String column : this.columns ) {
				sortedColumns.put( column, next.get( column ) );
			}
		}
		return sortedColumns;
	}
private Map < String , Object > sortColumns ( Map < String , Object > next ) { Map < String , Object > sortedColumns = new LinkedHashMap < > ( ) ; if ( this . columns != null ) { for ( String column : this . columns ) { sortedColumns . put ( column , next . get ( column ) ) ; } } return sortedColumns ; }
The map represents a single row of the results returned by Neo4j but the columns might
not be ordered in the same way as {@link Result#columns()}.
If the user runs a native query, we need to make sure that the results are in the right order.