Already found it, thanks! But it doesn't really explain why those numbers...
the numbers were based on the nautical flags used by maritime or sailors- it's still used to this day, I believe. The numbers themselves don't have a larger meaning (:
Wow, I've never even heard of that. I was thinking about countries, about the number of colors, but the last flag didn't mean anything to me.