Adapt contact order test to new sort order