Finds and returns a table containing all files and folders in the given path.
file to check existance
game path to use
the sorting to use. Valid are nameasc, namedesc, dateasc, datedesc
nameasc
namedesc
dateasc
datedesc
A table containing all found files
A table containing all found folders