Is there an absence of a logical link between ' It took me really a long time to sort what was going on in my mind out,  she said.' and 'She now knows what was going on in her mind.'
 It took me really a long time to sort what was going on in my mind out,  she said.###She now knows what was going on in her mind.