Preserve list selection while sorting.
Text edits.
Cleanups.