Probability of arranging objects in a specific order