Fixing sorting, primaryKey configuration and selection when the specified fields' naming requires bracket notation to access the field.