に沿って・にしたがって: the difference
に沿ってN2
Meaning
Along, In accordance with, In line with
Past papers
Tested once in past papers
Example
スケジュールに沿って作業を進めていきます。
I will continue operations in line with the schedule.
にしたがってN2
Meaning
As, Following, As then, According to, In accordance with
Past papers
Tested 4 times in past papers
Example
この原稿に従ってインタビューに答えてください。
Please answer the interview in accordance with this manuscript.
How to tell them apart
「に沿って」: follow the general direction without straying.
「どおりに」: exactly as it is, no deviation.
「にしたがって」: obey instructions, or change along with something.