hotfix
fixed wrong checking for config.sort
changed getDimension to call on base object