desandro / masonry

:love_hotel: Cascading grid layout plugin
https://masonry.desandro.com
16.43k stars 2.11k forks source link

How to sort by a specific value #1021

Closed Rebo22 closed 6 years ago

Rebo22 commented 6 years ago

I'm using the masondry but I have some value in the html part that I want to sort it out by an ascending way. How can I do it?

desandro commented 6 years ago

Have you looked at horizontalOrder? Also, for custom sorting, look at Isotope.