PK: portraits selection and sorting