Test for sort_custom AND sort_default