changing the order of the title elements