See https://www.mongodb.com/community/forums/t/spark-structure-streaming-with-mongodb-change-stream-allowdiskuse-doesnt-work/175727
SPARK-395 ReadConfig.AllowDiskUse should also be taken into account during sort