Order by attributes were not handled as per the documentation. Allows ordering of categories by a specific field via the plugin
Revert to tree sorting when an order attribute is not available
Removed redundant variables
Updated to reuse existing components
Forgot to handle order-by and order-dir if they are used
Merge pull request #354 from superrbstudio/1.2/develop

Categories plugin ordering