I use Google Firestore as database in my project. It creates random generated id's for document names. I understood it's made with an purpose and I must use timestamp as a field in my document to order them by time they created.
On the other hand I also need a field that increase sequentially every time a new object added to the database. And I need to show customers this field because it will contain Order Id.
What is the best practice and how to create a field sequentially increased every time a new object created. How to manually increase new item realted field?
Sorry if it is an easy question, I am just lost. Any help is appreciated.