Added table sorting for all environment tabs in individual and collections