save sort to ext