adds sorting by project