changed birthday sieve to also use sorted lists.

It seems to be working as well!