Fix and-vs-or
Search sorting and total