test extended sort