Sort by search field if not null