RR: move search, sort, filter functions to collecions namespace