Cool filtering/sort buttons

Do you have ecommerce style layout and want to sort your items by price, name or updated date? What about a search box too? We created a sample of how to do just this with a toolbar of sortable buttons.

View Github Project

It’s rather simple, if you click on the a-z icon, you get options to sort your results alphabetically (ascending or descending) based on title. You can also sort by cheapest, most expensive, most recently updated. We also threw in a popup search box for good measure.

You will just need a bit of html and javascript in your snippet and you are off and away.

by Craig Sullivan

15 Apr 2014