when removing checkboxes, sort the new list by file name