Only emit sorted if sorted