Always filter empty strings out of OrderBy

Older OrderBy saved search preferences (which are arrays) may contain
empty strings.  Passing them to OrderByCols() can cause invalid SQL.
Merge branch '4.0/filter-empty-order-by' into 4.0-trunk