title: Sort a Vector of Objects in ActionScript3
body: <p>I have this Vector of Objects and each Object has some properities(date, name, id, etc.).</p>
  
  <p>I want to sort the vector by, lets say, a date. How do I do this? I've seen, that an Array would support sortOn() function, but Vectors don't have it.</p>
  
  <p>Object:</p>
  
  <pre><code>public final class DisciplineEvent {
      public var id:Number;
      public var name:String;
      public var date:Date;}
  </code></pre>
  
  <p>Thanx for answering.</p>