WIP: save & restore sort order