sys_GetDocumentList fix

Fixed sys_GetDocumentList to return a list of files by creation date. A
parameter to toggle this sort might be good to add later.
Resource file update 6.4

Updated some defines