Remove unused plugins and sort alphabetically