Spontaneous focus on mathematical structures: patterns and sorting