PluginManager parent parameter removed as it's redundant. Also most core functions tidied up and jsdocs fixed.
Group.customSort allows you to sort the Group children based on your own sort function.