Multiple choice technology web technology

The method in Array which is used to sort the Objects in Array on specific property in the Object is

  1. sort

  2. sortOn

  3. reverse

  4. sortBy

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In ActionScript, sortOn() sorts an array of objects based on a specific property of each object. The sort() method sorts simple values or requires a custom function, reverse() reverses order, and sortBy() does not exist.