Sorting by objectattribute_id, objectattribute_version, priority