Sorts testing improvements.