MMR with filtering and sorting