'Key function to sort views by descending suitability
Suitability of a view is defined as follow:
* if the view and request website_id are matched
* then if the view has no set website'

@api.multi
def _sort_suitability_key(self):

    self.ensure_one()
    context_website_id = self.env.context.get('website_id', 1)
    website_id = (self.website_id.id or 0)
    different_website = (context_website_id != website_id)
    return (different_website, website_id)
