Curious what's going on

first off i wanted to thank everyone for their responses to my other newbie questions.
this hasn’t presented a problem yet, but i’m curious why applescript is behaving this way:
Say i have a folder called “My Folder” which contains the following five files:
image1.jpg image2.jpg image3.jpg image4.jpg image5.jpg
now what tends to happen every other day it seems is that getting the first item of the folder which actually get the second item in the folder, i.e. the following code:
– begin code
tell application “Finder” to get item 1 of folder “My Folder”
– end code
returns image2.jpg! Along the same lines, the following code:
– begin code
tell application “Finder” to set fileList to name of every file in folder “My Folder”
– end code
returns the list {“image2.jpg”,“image3.jpg”,“image4.jpg”,“image5.jpg”,“image1.jpg”}
this hasn’t posed a problem yet because I happen to be processing every file in the folder, so the order doesn’t really matter. But i’m curious to know what’s going on here- especially because sometimes the problem seems to go away for no discernible reason, and i could see it being a possible problem in the future…
thanks!
tim