Working on Card filter and sort

Added menus for sort and filter
And fixed bug with loading script acc to EP type