# Using an array to sort Dynamic Data

**URL:** <https://forum.kirupa.com/t/using-an-array-to-sort-dynamic-data/124280>\
**Category:** Uncategorized\
**Created:** [October 1, 2004, 6:18pm UTC](https://forum.kirupa.com/t/using-an-array-to-sort-dynamic-data/124280 "2004-10-01T18:18:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![likeninja](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@likeninja](https://forum.kirupa.com/u/likeninja)\
**Post date:** [October 1, 2004, 6:18pm UTC](https://forum.kirupa.com/t/using-an-array-to-sort-dynamic-data/124280/1 "2004-10-01T18:18:50Z")

</div>

I have a text file which generates a series of numbers. These numbers need to be displayed from largest to smallest.  
I understand the concept of how a ‘sortByNumber’ array works in Flash, I’m just not clear as to how to get my dynamic data into the array.  
Any suggestions?
