No, it's a real-world problem
It's just written out like a homework assignment because i've done enough technical work to know that when you ask for help, clarity is king.
I'm working on an interface that gets daily xml exports from an ftp site and synchronizes them with Siebel CRM. I've got Oracle Fusion Middleware to:
A) transfer files from the FTP site to an /exports folder
C) route files from a /staging folder to an Siebel inbound web service.
But I need a Step B) to meter out the appropriate files from /exports to /staging in the right order (first in, first out). I'm trying to do this with shell scripting but this is a bit outside my expertise, as you can tell...