Fixed sorting by wins and slightly refactored matches controller