About 15 years ago I had a brief stint as a non-educational worker in a public school. They had a rule that the entire class had to line up in alphabetical order each time they entered or left any space as a group.
To enter or leave the building, the hallway, the classroom. To go to the library, the gym. For group bathroom breaks. For recess and for lunch. Seriously they spent about 20% of the day being corralled into lining up. I don't know how the teachers tolerated it. The kids never cooperated with it easily and by the time the teacher got to the end of the line getting people in the right order the kids at the front had moved themselves around. Everyone going to giggle with their best friend or get away from someone they didn't like, whatever.
We didn't have a rule like this when I was growing up but I did have the feeling it was stuff like this all the time. I literally felt they were trying to brain wash us into being compliant ever since I was very little.