Sorting articles into log with ref and reftemplate and log with articles without refs but missing the reftemplate