Alphabetize all of the pattern functions