Do lists and dicts keep the same order for every task?

I am curious whether lists and dicts maintain their order when used in different tasks. I want to make sure I don’t accidentally scramble my user/group data as I migrate.