RCSID
sortlist -> sorted
fix
Added protection from accidental removals
Correct handle of SEs status