Slideshow: reorder HTML div on sort (slide order is important)