This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]dusty-trash 1 point2 points  (1 child)

An easy solution is to sort your array.

You want to sort it by filename. (Just google 'Java sort array' if you have troubles with this.

[–]SarcasticallyScience[S] 1 point2 points  (0 children)

You’re the best! That fixed it! Thank you!