Fixes component type sort order

The list now sorts alphabetically.
Removed commented out code
Merge pull request #513 from adaptlearning/component-type-sort-fix

Component type sort fix