Is it against the spirit of the game to note down deck order on paper? Is it against the spirit of the game to look at your deck so long as it has not been shuffled since the last time you flipped your discard pile to make your deck?
You’re not supposed to look at your deck. You can set it up using your discard pile though. So you should have an idea as to what’s coming.