Hi Thong,
Welcome to the community
Is it possible to explain your question a bit more?
If I understood you correctly you need to give a number to each row!
You can give a number to a row using this method introduced by @11183! This is inside Glide Data Editor!
As far as I’m aware In Sheets you can use this method : Automatically create a series or list - Computer - Google Docs Editors Help
Thank you