Message 1 of 42
Sort an array of text objects Asc by their X and Y insertion point values

Not applicable
06-19-2006
12:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
example of individual text objects on screen
1 2 3
4 5 6
7 8 9
User selects objects
(objects are place into a selection set, then object in selection set are
placed into an array)
array order might look like this:
2,4,7,8,0,1,5,3,6,9
how do I sort the array by the text objects X,Y insertionpoint values:
1,4,7,2,5,8,3,6,9 (outcome desired)
Thanks
1 2 3
4 5 6
7 8 9
User selects objects
(objects are place into a selection set, then object in selection set are
placed into an array)
array order might look like this:
2,4,7,8,0,1,5,3,6,9
how do I sort the array by the text objects X,Y insertionpoint values:
1,4,7,2,5,8,3,6,9 (outcome desired)
Thanks