Script 2.8 Script 2.8 - Sorting arrays. Last section I used a new array along with the shuffle() function.

Back

Rating

Title

In their original order:
10 Casablanca
10 To Kill a Mockingbird
2 The English patient
9 Stranger Than Fiction
5 Story of The Weeping camel
7 Donnie Darko
Sorted by title:
blankCasablanca
blankDonnie Darko
blankStory of The Weeping camel
blankStranger Than Fiction
blankThe English patient
blankTo Kill a Mockingbird
Sorted by rating:
10Casablanca
10To Kill a Mockingbird
9Stranger Than Fiction
7Donnie Darko
5Story of The Weeping camel
2The English patient
Shuffle() 10 of The World's Most Enjoyable Movie Theatres
4. Kino Int, Berlin, Germany
1. Cine Thisio, Athens, Greece
6. Uplink X, Tokyo, Japan
10. Castro Theatre, San Franxisci, US
9. Secret Cinema, Worldwide
7. Prasads, Hyderbad, India
8. Cine de Chef, Seoul, South Korea
3. Raj Mandir Theatre, Jaipur, India
5. 4DX, Seaoul, South Korea
2. Alamo Drafthouse, TX, US