add sort order to make tasks