it "returns sorted images"