DocumentList built in services.

Hi All,
I want to sort a document list based on name. My document list has only two variables:

I used the WmPublic/pub.document:sortDocuments service on wm 8.0.1. I have passed the following sortCriteria:
key → mapped the Name directly from input document list
order → ascending
comparedStringAs → string

The output of this service doesnt have any sorted results. Appreciate if anyone can give me more details on how to use this builtin service.

hi Deepa Kotnis,

Don’t map the “Name” from input file directly to the key, type “Name” (without quote) as a key value instead.