Fix correct type for php_admin and sort hash