Section Views- Align sections

Hello, I have to drag all sections one by one in order to aling the heads in a plan view. I wonder if it can be solved with dynamo.