added setSortStyle to commandcontroller