# AS 2.0 Array question

**URL:** <https://forum.kirupa.com/t/as-2-0-array-question/49507>\
**Category:** flash\
**Created:** [April 23, 2004, 12:48pm UTC](https://forum.kirupa.com/t/as-2-0-array-question/49507 "2004-04-23T12:48:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Markus](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Markus](https://forum.kirupa.com/u/Markus)\
**Post date:** [April 23, 2004, 12:48pm UTC](https://forum.kirupa.com/t/as-2-0-array-question/49507/1 "2004-04-23T12:48:51Z")

</div>

Flash MX 2004 added some new features to the Array.sortOn(); code. Is there anyone here familiar enough with those new features to answer this question?

Is there anyway to apply “options” to a single “fieldname” when using multiple “fieldnames”, This might make it more clear(sort within?):

myArray.sortOn([“number”, “name”], 18);

applies to both “number” and “name”

How can I apply Array.DESCENDING and Array.NUMERIC (18) to JUST “number” and still have “name” ascending (default)??

Thanks guys in advance!!!
