sort items before doing search. No source info kept yet
update tests