I would like to make a gallery with divs. But I do not know how to make it sortable. What I want the user to be able to do is click on 1 of 4 categories and have the divs not in that category disappear. There will be an "all" category and some items will be in multiple categories. What would be the most effective way of doing this?

Thanks!