in reply to Re: Understanding this code
in thread Understanding this code

Thanks
I did sort the list and got the expected result.
Also thanks for the explanation on the logic. Much appreciated

Total element in idslist = 8436 Total element in missing_ids_list = 61566