New cards have duplicate #numbers (due)

I understand, I synchronize everything very frequently, I even have an automatic synchronization addon. I leave “synchronize on entry/exit” turned on both on the computer and on AnkiMobile. I’m going to be even more careful with syncs now.

As for checking the database, I carried out the check to try to solve the problem with the duplicate positioning number, but it didn’t solve it. I had to manually reposition it.

But, just to make another question clear to me:

In this hypothetical example:

“I logged into Anki Computer > added a card > left without synchronizing > performed reviews on AnkiMobile and synchronized > logged back into Anki Computer” => After logging back into Anki Computer, the database must be checked first to perform a new synchronization on the computer? Or does this order not matter?

I also had this question after reading this post: Check Database: Upload or Download