Added the function search order by order type.