added order filter in template
Move filter in template file