When viewing the list of premade replies on the Knowledge Base tab, you are not able to sort by department. Here is a small modification on how to do so:
include/staff/premade.inc.php
CHANGE around line 25:
$sortOptions=array('createdate'=>'premade.created','updatedate'=>'premade.updated','title'=>'premade.title');
TO:
$sortOptions=array('createdate'=>'premade.created','updatedate'=>'premade.updated','title'=>'premade.title', 'department'=> DEPT_TABLE.'.dept_name');
then
CHANGE line 96
<th width=200>Category/Dept</th>
TO:
<th width=200>
<a href="kb.php?sort=department&order=<?=$negorder?><?=$qstr?>" title="Sort By Department <?=$negorder?>">
Category/Dept</a></th>