fix sorting
AB