title: AS3 Vector.sort() does not take sorting options?
body: <p>In AS3, <code>Array.sort()</code> took some nice sorting options like:</p>
  
  <ul>
  <li><strong>Array.DESCENDING</strong> - sorts the array big to small</li>
  <li><strong>Array.RETURNINDEXEDARRAY</strong> - returns an array of indices so you can track which item got sorted where</li>
  </ul>
  
  <p>But sadly <code>Vector&lt;T&gt;.sort()</code> does not support these features, and simply takes a <code>compareFunction:Function</code> argument so you can write your own sorting logic.</p>
  
  <p>Is there any other way to quickly get a sorted indexed-array of a vector?</p>