Refs #13870; add simple sorting based on title to autorelations macro