sort-o-matic cleanup