Using Markov Chains to Sort an Array of Integers