A dozen principals and New York City education officials were gathered in an office early last year, sorting through a database to look for schools to use as models — those scoring highest on tests, graduation rates and other measures, compared with schools of similar demographics.