Move method out from private
Sort grouped projects