Fix for env_view sorting. Some layout retabs.