changed branch sort for edit profile