Summary of @Hivaclibtibcharkwa 's explanation:
Independent assortment = lining up of the chromosomes ( they can line up in many different combinations)
random segregation = separation of chromosomes (they can separate in many different combinations.)
So independent assortment occurs first...