Put more casting if statement trees in alphabetical order.