Update app/resources/ProposalWinningResource.py

* fixed sorting issue where the result of sorting wasn't captured