; (3) compare the total benefits of each application submitted, as determined by the rating system developed under paragraph (2), with the costs of such application, and rank each application based on the results of the comparison; and (4) ensure that only such applications that are ranked highly based on the results of the comparison conducted under paragraph (3) are considered to receive a grant under this section. (g) Weighting In establishing the evaluation process under subsection (f), the Secretary may assign different weights to the criteria developed under subsection (f)(1) based on project type, population served by a project, and other context-sensitive considerations, provided that— (1) each application is rated on all criteria developed under subsection (f)(1)