# FMX - Ordering elements from array in Y and X

**URL:** <https://forum.kirupa.com/t/fmx-ordering-elements-from-array-in-y-and-x/22337>\
**Category:** flash\
**Created:** [June 2, 2003, 9:51pm UTC](https://forum.kirupa.com/t/fmx-ordering-elements-from-array-in-y-and-x/22337 "2003-06-02T21:51:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagunco](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jagunco](https://forum.kirupa.com/u/jagunco)\
**Post date:** [June 2, 2003, 9:51pm UTC](https://forum.kirupa.com/t/fmx-ordering-elements-from-array-in-y-and-x/22337/1 "2003-06-02T21:51:05Z")

</div>

hi there , i´m designing one website, and I´m using to show clients, one XML file that is loaded by an array, that distributs the buttons alphabetecally in the x axis, but I want to put them in the Y axis like:

ABC  
ABC  
ABC  
ABand so on  
AB  
AB

I´m using some code I get from a website, and i think I tried all that is in my power, can someone take a look at the code please.

thanks
