Sort Your Tasks and Do the Weak Ones Last