How do I make bunch of objects be in one plane? How do I take these blocks:

And place them all in one plane to get something like this:

So that none are sticking out or pushed in?
I run in similar situations all the time and I wonder if there is any way to do it more efficiently than manually rearanging each block, witch is next to impossible to level perfectly
enable the Objects: Align Tools addon


select all objects to be aligned. the active object will be the reference object


go to n-panel &gt; item &gt; align tools and choose appropriate align location axis (here, y)