Combine the combine the constants using the bitwise OR operator (|)
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var words:Array = ["T", "r", "a", "j"];
words.sort(Array.CASEINSENSITIVE | Array.DESCENDING);
trace(words);
}
}
}
T,r,j,a
Related examples in the same category