filter and sort working
filter and sort working v2