• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Arrays > Sorting Arrays

Sorting Arrays

Sorting plays an important role in using arrays. With sorting, you can put names in alphabetical order, put prices from greatest to least, and even see who has the highest score so far in a video game.

There are two types of sorting: One involves a general sort of the elements in an array, and the other involves the sorting of nested arrays.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint