Quick question:
When there is a list field in a “thing” (e.g. a “thing”/instance of type “user” has a field named “Friends” which is a list of other users), do the items in that list keep their position or does bubble not record the specific position of items in such a list?
So, in other words, when I instruct bubble to display e.g. the second item in that list of friends, will it always display the same friend? (if the list was not explicitly altered in any way, of course).
Yep its in the order you wrote it in the database, if you want it to show a different order then you would sort your repeating group. Of course don’t rely on it but in general it’s what I’ve noticed
Yes, list fields on Things have an order and they stay in that order. At runtime, you can of course change the order that they might appear on the page by :sorting them.
You can also take such a field and update it (via make changes to a thing) to some different order. E.g., User’s Friends list = User’s Friends list: sorted alphabetically. Once saved on this way, referencing User’s Friend list will result in those Friends being returned in the same order.