Sorting Regardless of Case
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var aWords:Array = ["o", "S", "a", "C"];
aWords.sort();
trace(aWords.toString()); //C,S,a,o
}
}
}
Related examples in the same category