
The way to get them like that without having to use a ruler and nudging them millimetre by millimetere is like this:
1. Right-click the desktop, select Show View Options and you'll see this:

Tick Snap To Grid and they'll always be neatly aligned. You can also sort them by name, etc.