Sort test fix