Click to detach elements with...

lets say we have a row of blocks inside a single editable poly and we want to detach them all in the order from left to right or from top to bottom.
What i'd like to do is detach them all so that they are detached consecutively in order plus add a numbered extension. ( like Modelname_001 Modelname_002.

All of the other detach scripts that I have come across seem to randomize all of the elements detach order.

I would even settle for a script that could bulk renamed selected object in order from top to bottom or left to right.

Need this ASAP.. 1000s of objects to rename!