The code allows you to re-order the buddypress profile menu items.