The elements of sortExprStr list are usually strings defining the attribute name on which the collection sorting will be based. Each criterion could be followed by asc or desc to indicate ascending or descending order respectivelly. If no order is specified, ascending will be used by default.

This method is usually used in combination with limit to fix the amount of documents to be updated.