Sort plugins
Remove trailing space