Rely on pim_catalog.storage_driver parameter to register datagrid sorters for mongo