cursor traverses tied records once each in sort order