Added sorting to the metric & project lists