Method to detect if re-search is required due to sort order: 1 on yes. 0 on no