Add sorting to projects