<h1 id="page-title"><a href="produtos.php?dep=<?php echo $row_rsDepartamento['id_departamento']; ?>"><?php echo $row_rsDepartamento['descricao']; ?></a> > <a href="produtos.php?dep=<?php echo $row_rsDepartamento['id_departamento']; ?>&sub=<?php echo $row_rs_Subdepartamento['id_subdepartamento']; ?>"><?php echo $row_rs_Subdepartamento['descricao']; ?></a>
<div id="direita">
<form action="produtos.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
<select name="filtro" id="filtro" onChange="this.form.submit();">
<option value="0">Ordenar por:</option>
<option value="1">Popularidade</option>
<option value="2">A-Z</option>
<option value="3">Z-A</option>
<input name="dep" type="hidden" value="<?php echo $dep; ?>">
<input name="sub" type="hidden" value="<?php echo $sub; ?>">
</select>
</form>
</div>
</h1>
The example can be seen here: List / Menu