fixing problem with compiled templates and sorting ownersList.