order by active then title