# Sorting on htmlText link value

**URL:** <https://forum.kirupa.com/t/sorting-on-htmltext-link-value/317217>\
**Category:** flash\
**Created:** [December 14, 2010, 2:34am UTC](https://forum.kirupa.com/t/sorting-on-htmltext-link-value/317217 "2010-12-14T02:34:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zik80](https://avatars.discourse-cdn.com/v4/letter/z/c37758/32.png) [@zik80](https://forum.kirupa.com/u/zik80)\
**Post date:** [December 14, 2010, 2:34am UTC](https://forum.kirupa.com/t/sorting-on-htmltext-link-value/317217/1 "2010-12-14T02:34:09Z")

</div>

I have a myarray Array declared and pupulated with the syntax as such:

```auto
myarray.push("<a href=" + '"' + "event:" + value1 + value2 + '"' + ">" + linkvalue +"</a>");

```

I want to sort the array on the “linkvalue.” Is there a way to do this with [COLOR=“Blue”]Array sortOn[/COLOR] or something similar. I prefer not to have to do this with a bunch of arrays and iterations. Thanks.
