added file sorting
serialized associative array for passing
resolved local conflicts
removed unused variable
replaced variable, minor cleanup
Merge pull request #83 from ajstanley/7.x

added file sorting