When I started scripting, about a year ago, I was really frustrated that app.selection didn’t returned correct selection order I used while selecting objects, instead, it returned sorted selection by object ID’s. To make things even worse, just few versions back, app.selection DID returned correct selection order! So, somebody messed things really bad! Few people did some workarounds, but they wer
![Selection order is back in CS5.5!](https://cdn-ak-scissors.b.st-hatena.com/image/square/6a5cb171874ff6162b50c395344d6d09f23d1147/height=288;version=1;width=512/https%3A%2F%2Findisnip.wordpress.com%2Fwp-content%2Fuploads%2F2011%2F04%2Fselectionorder21.png)