Firebase Real Time Data

How to store data serial number wise in Real time data in Firebase ? whenevery push() is applied it generates unique id for data storage. I want store data serial number wise like 1. 2. 3. 4. 5… as so on

This Stack Overflow answer will help you clear your doubt.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.