completed department sorting + saving