DoCmd.SetOrderBy specifies the columns whose values specify the order of records (sort) in the table, form, report or datasheet that is active and has the focus.
Sort by (ascending) articleId:
doCmd.SetOrderBy "articleId"
Sort by multiple columns (reportYear and reportMonth):
doCmd.SetOrderBy "reportYear, reportMonth"
setOrderBy understands the desc key word (which reverses sort order):