change sorting of slides