It still amazes me how many designers never use this very cool feature. They’re available both in Sketch and Photoshop:
It lets you distribute selected elements evenly either horizontally or vertically. Just set the first and last element in the row and all other elements will align evenly for you.