Here is my case:
1993: Grandfather(permanent resident) files relative petition for my mother (unmarried with one child (me) )
Mom screws up and gets married.
1996: Illegal entry in US.
Feb. 2001: Grandfather(US Citizen Now) files relative petition for married daughter (my mother - married, 2 illegal children + 2 legal children)