• Share this article:

The EMO Mailbag: This is ridiculously funny

Friday, January 4, 2013 - 14:41 by Wayne Beaton

I received this message via the EMO inbox today:

haha noobs

your number sorting in project explorer is like a mistake from windows 95

this is ridiculously funny

hahahanoobs

He’s right. It is ridiculously funny. I’m assuming that the sender is part of some nerd mafia and sent this message to earn some kind of merit badge.

Here’s my response:

This is working as designed. In the real world, you will almost never have projects named like this, so investing any time in writing a sorting algorithm that handles this case just isn’t worth the investment.

You may want to spend some time researching alphanumeric sorting. If you’re concerned about sorting order, then maybe consider padding your project names with spaces or zeroes, e.g “Home Work – Week 01”

Since you’re apparently very smart, I’m curious to know if you have any idea how you might design an algorithm that considers numeric order while sorting. That might be a good project for one of your first year courses.

Normally, I wouldn’t add in that last part. This morning, I couldn’t help myself…

How would you respond?