bug in sortValueAt()
fix bug when less than full page of results to show