I’m surprised you had this problem with IDW Sonic as it’s an incredibly easy book to follow. If you were confused by the beginning then know that the whole book takes place after Sonic Forces, but before Frontiers in the game timeline. Unlike Archie Sonic which is its own continuity.