I like to keep the running apps in the Dock organized in a logical fashion, so that similar apps are grouped together. I don't pin all of them permanently because that would reduce dock icon size.
When I drag a running app to a place I want it to be, the app is auto-pinned. I have to right-click and unpin the app from Dock.
I wonder if anyone knows how to stop letting Dock auto-pin apps.