[backend] one sort is enough