A good friend's son at an early age developed an 'obsession' with vacuum cleaners, which at the time, everyone thought was really cute and amusing. Friends would give him the ones that their kids had grown out of, etc., and he'd systematically line them all up by the living room wall. Turns out, he was later identified as being on the autism spectrum (Aspergers). However, in retrospect, he had some other quirky behaviors and some developmental issues as well.
On the other side of that coin, my son, at about your child's age, maybe a little older, used to line things up like crazy! Every little car he owned would be in a line across the floor. Or every flash card would be lined up. Etc. And he, too, would get frustrated if someone messed up his work. But my son is not on the spectrum. He's 4 1/2, and shows no signs of OCD or any other developmental or behavioral disorders.
I'd say that without the presence of any other troubling 'symptoms', you should just relax and treat this behavior as a developmental milestone.
Best wishes.