Updated sorting to fix auction/bounty issue