There are a few posts on the forum about sorting sequences. Check out one of the original posts below: