Felix resells sneakers. Which pair made him the most money?
Lesson 4.1 · Tap a Header, Rows Fall in Line
Felix
Same twenty rows. Tap a header. Suddenly they’re in order.
Felix types the notebook into a spreadsheet.
Twenty rows, five columns. It looks exactly like the notebook, just neater.
Then Felix taps the Profit column header, and the rows rearrange themselves.
The short answer
The Jordan 4s in February: bought for $220, sold for $320, a $100 profit. Sorting by profit put them on top. Filtering to Vans shows the other end of the story: three flips, $26 total.
Try it yourself
Tap a column header to sort. Tap a brand chip to filter to just that brand.
| Dunk Low panda | Nike | Sep | 110 | 165 | 55 |
| Old Skool black | Vans | Sep | 45 | 60 | 15 |
| Air Force 1 white | Nike | Sep | 90 | 120 | 30 |
| Samba OG | Adidas | Oct | 85 | 140 | 55 |
| 990v6 grey | New Balance | Oct | 150 | 170 | 20 |
| Chuck 70 high | Converse | Oct | 55 | 70 | 15 |
| Dunk Low grey fog | Nike | Oct | 120 | 150 | 30 |
| Gazelle navy | Adidas | Nov | 80 | 105 | 25 |
| Jordan 1 mid | Nike | Nov | 130 | 125 | -5 |
| 550 white green | New Balance | Nov | 95 | 135 | 40 |
| Sk8-Hi checker | Vans | Nov | 50 | 48 | -2 |
| Samba black | Adidas | Dec | 90 | 155 | 65 |
| Dunk Low UNC | Nike | Dec | 115 | 190 | 75 |
| Chuck Taylor low | Converse | Dec | 40 | 52 | 12 |
| 2002R protection pack | New Balance | Jan | 160 | 210 | 50 |
| Campus 00s | Adidas | Jan | 100 | 130 | 30 |
| Air Max 90 | Nike | Jan | 105 | 110 | 5 |
| Authentic red | Vans | Feb | 42 | 55 | 13 |
| Jordan 4 grey | Nike | Feb | 220 | 320 | 100 |
| 574 core | New Balance | Feb | 70 | 82 | 12 |
Sorting puts rows in order. Filtering hides what you don’t need right now. Neither one changes the data, just what you’re looking at.
What you just did has a name
Sort and filter
Sorting rearranges rows by one column, biggest to smallest or A to Z.
Filtering shows only the rows that match a rule, like brand equals Nike.
Every spreadsheet, database and analytics tool starts here.
A few more things
Sort answers “which one”
Biggest profit, oldest flip, cheapest buy. Any question that starts with “which one” is a sort. The answer is the top row.
Filter answers “what about only”
What about only Nike? Only December? Only flips that lost money? A filter narrows the table to the rows you mean, and everything you do after that applies to just those.
Nothing gets deleted
Filtered rows are hidden, not gone. Sort, and the data is the same data in a different order. It’s a safe way to poke around, which is why analysts do it first.
Go deeper
The longer version, if you want it.
Sorting by two things at once
Real tools let you sort by brand first and profit second, so every Nike flip is together and the Nikes are in profit order within the group. That’s a multi-level sort, and it’s how “best flip per brand” gets answered without a formula.
Filters stack the same way. Brand equals Nike and month equals December and profit greater than 50 is one filter with three rules. Databases call this a WHERE clause.
Quick check
You open your playlist and want to see only songs added this month, from longest to shortest. What did you just describe?
Let’s take it slower
Try it this way: a sort is a shuffle and a filter is a sieve. The shuffle keeps every row and just changes who’s on top. The sieve keeps the order and drops the rows that don’t fit through. You can tell which one you need by the word in your head. “Biggest,” “oldest,” “first” means sort. “Only,” “just,” “except” means filter. Most real questions use both: sieve first, then shuffle what’s left.
More examples
The headphone search
Search a store for headphones, tick “wireless,” then pick “price: low to high.” That was a filter and a sort, and the site had thousands of rows a second ago. Nothing got deleted. You just stopped looking at most of it.
Missing work in the grade portal
A grade portal lets you show only missing assignments, then sort by due date. That’s the whole trick: filter to the ones that matter, sort so the urgent one is on top. Your teacher does the exact same move from the other side.
Back to the question
So which flip made the most?
Show the answer
The Jordan 4s in February: bought for $220, sold for $320, a $100 profit. Sorting by profit put them on top. Filtering to Vans shows the other end of the story: three flips, $26 total.
One last question
What happens to the rows a filter hides?
Talk Card
Talk Card · 4.1
Sorting puts rows in order and filtering hides the ones you don’t need. Neither changes the data, and both are the first thing anyone does with a table.
Data to AI · pettigrewlab.com/learn
