Add sorting to project index