script to sort .gitmodules

Change-Id: I1bbe28f790fa119d249e755e33acab6fea452e09