the SitesManager.getPatternMatchSites takes already care of site_selector_max_sites setting which is ideal. Also sort websites by name asc