completed department sorting
Merge pull request #25 from tonyrd/development

completed department sorting