[c7] [Pranav] Implemented controlling order of theme titles in log form through rank.