Fix sorting page object type selection