changed how sort and project take parameters.