add method getAttachmentListSortedSpace to get all attachments in a
space