Implemented winner sorting in a sloppy way.