Everyday Learning العربية
Computer scienceInside your phone · Lesson 2 of 6 · 7 min

How does a playlist sort 1,000 songs?

Tap "sort by title" and it is done. Sorting by hand would take you all afternoon.

In this lesson

12 songs as bars. Shorter title comes first.

Your notebook page

  • Every pair: the steps explode.
  • Merge: split, sort small piles, merge.
  • Far fewer steps for long lists.
  • Method > speed.

Where you'll see it today

Sort by price in a shopping app, sort by date in your photos, a leaderboard updating live.

The course

Inside your phone

Every lesson adds a part. Finish them all to build the Phone.

  1. 1SearchingHow does your phone find a contact so fast?
  2. 2SortingHow does a playlist sort 1,000 songs?
  3. 3PixelsWhy do photos fill up your phone?
  4. 4PacketsHow does a video reach your phone?
  5. 5LoopsHow does a robot vacuum clean the whole room?
  6. 6Build the phoneWhy do your apps restart when you switch back?
Open in the app Download on the App Store