Sort Data on drop down select

Updated the controller so that user input to drop down lists sorted
vendor data to be displayed on list page.