Added weight attribute to sort the nav menu