Original
Array
Sorted
Alphabetically
Sorted
Numerically
generated using the Math.random() function sorted by simply calling the .sort() function sorted by calling .sort(cmp), where cmp is a comparison function
  1. 50
  2. 29
  3. 53
  4. 78
  5. 15
  6. 16
  7. 26
  8. 61
  9. 87
  10. 16
  11. 46
  12. 31
  13. 74
  14. 40
  15. 43
  16. 12
  17. 80
  18. 96
  19. 4
  20. 93
  1. 12
  2. 15
  3. 16
  4. 16
  5. 26
  6. 29
  7. 31
  8. 4
  9. 40
  10. 43
  11. 46
  12. 50
  13. 53
  14. 61
  15. 74
  16. 78
  17. 80
  18. 87
  19. 93
  20. 96
  1. 4
  2. 12
  3. 15
  4. 16
  5. 16
  6. 26
  7. 29
  8. 31
  9. 40
  10. 43
  11. 46
  12. 50
  13. 53
  14. 61
  15. 74
  16. 78
  17. 80
  18. 87
  19. 93
  20. 96