Added sorting for project histories.