She is categorizing these toys.Part of your child's development is acquiring "Classification Skills". In this scenario, your daughter grouped these plastic toys according to what she deemed similar. Kids, mostly 1 to 3 years old, exhibit this particular set of skills during this phase. They could classify and group object based on their categories and physical appearance. A child could also group objects based not only on their physical attributes but also their functions.
Violet is bent the most
Red is bent the least
Here’s a picture you can copy something like this
Peer pressure and want to fit in with others
Decreased risk of injury, increased bone density and strength and reduced osteoporosis