You can set the window to "Sort By..." or "Arrange By..." some criteria. If you open the window and choose "Show View Options" from the "View" menu, you should see various options for those. Choosing "By Name", for example, will keep them sorted by name and not allow them to be moved around.
How to make icons in a specific folder unmovable in MAC OS X?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow