Combined sort+member