Added sorting to array with bradcrumbs