If I understand what you are asking, you just want a text list of all the file names?
Open Terminal and navigate to the folder with the images, then enter "ls >~/Desktop/images.txt" (without the quotes). This will give you a text file images.txt on your desktop with a list of all the image names. Now just import that text file to Numbers and sort/manipulate however you want.