fixing ordering of wagers in index view