Well, I wouldn't call them geniuses. They simply hire smart people to spend years researching ways to sort data efficiently. When you have a bunch of smart people focused on a single task for a long time, great things are bound to happen.