sys_GetDocumentList sort option

Added an option to change the sort method to creation date or default
directory sort.