Postgresql Loop Through Array Backwards Alphabet