Sorting ShapeRange with multiple parameters

Hi, all!

So the ShapeRange.Sort function is really powerful, saving tons of code. You can compare position...

ActiveSelectionRange.Sort "@shape1.left < @shape2.left"

even area in a way...

ActiveSelectionRange.Sort "@shape1.width*@shape1.height > @shape2.width*@shape2.height"

which is great, but my question is - can you stack these? I'd like to sort my ShapeRange in such a way that we have bottom-left shapes first, then the next leftmost one, etc. Basically a Bottom Left sort. I did try some things, like separate sorts, combining the queries with &, but no luck.

Can any of the pros chime in if this is possible? Thanks!

Parents Reply Children