Sort table by commits

--> Added sort method on show action in repo controller to sort table by descending order