Sort manageImages