Added bean properties to Sort Controller
Initial implementation of SortController
Cleaned up style of controller code
Added SortController tests