iterating over projects in sorted order