added setSortStyle to commandcontroller
Merge branch 'staging' of https://github.com/cs2103aug2014-w13-1c/main into jolly/gui
added up key to fill in last command in the inputfield