Direct answer
Objectives follow journal display order. Some depend on your choices; follow the active objective in the game.
Result
When Geralt saw a dog which was clearly someone's beloved pet surrounded by a pack of starving wolves, he could not help but interfere and save the poor animal's life. The wolves slain, he petted the dog to calm it and discovered there was a key sewn into its collar.
Game homeThe Witcher 3: Wild Hunt RemasteredAll games