sys_GetDocumentList update

Changed sort parameter to sort by date when passed a 1, structure in
place to add more sorting methods.