I want to try some code with firestore emulator before using it in production, I want basically to retrieve a collection documents sort them and set them again in the collection