Used Masonry JS Plugin to meet our requirement. Filter is working fine if value = group1 or group2. But, not sure how to show all items if user clicked "all".