Added phpunit as dev dependancy
Fixed RankSorter::sort method and PHPUnit test case