update for search sort function
Merge pull request #70 from cs2103aug2014-t10-4j/logic

update for search sort function