Reorder views for proper precedence.