list_fiels test with sorted