filtering working and tested on string and object lists.