sort by ties if wins equal