Expiration boolean and sorting