Is there any way to add items to Firebase as insert as LAST?

Hi

I have noticed that everything in my Firebase gets added in alphabetic order. Is there any way to adding my items as “insert as LAST” instead? Or is this just how it works with FB?

Thanks!

1 Like

Firebase isn’t a table. It’s a tangle of json. :slight_smile: . If you need the output in a specific order, how about adding a value that you can sort on? You could use a time stamp, or keep track of some index parameter.

1 Like

Add the values in your app as a list and then save the list to FB. This way you will keep the format you desire.