TinySort to sort unorderd imagegallery
Hi.
I'm trying to use
TinySort to sort my imagegallery according to the artists name. My markup:
- <div id="content">
- <!-- sort this -->
- <div class="post">
- <div class="caption">
- <span class="the_artist">Artist name</span>
- <span class="the_category">Category name</span>
- </div>
- </div>
- </div>
Ofcourse there are a lot of iterations of ".post", so that's the element I want to sort. So the ".post" should be sorted depending on ".the_artist"'s content.. How can I do this? I can't seem to target the correct elements..
Thanks in advance!