Combine the combine the constants using the bitwise OR operator (|) : Sort : Array Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Array » Sort »

 

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

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Array
» Sort