Immediately after the baptism of John as recorded in
Matthew 4:1
Matthew 4:1
Then was Jesus led up of the Spirit into the wilderness to be tempted of the devil.
Strong's Greek:5119
tote: then, at that time
It appears immediately after he went back from the same side of Jordan, to which he came to the baptism of John, He was led into the wilderness to be tempted.
As far as the order of events recorded in the gospel of John, they do not appear to be as detailed and in the best chronological order when compared to the gospel of Luke or Matthew. So the gospel of John may not be the best place to start when determining the answer to your question.
Additionally, John 1 does not show Christ being led into the wilderness to be tempted but rather after recieving the baptism of John that "Jesus called His first disciples".
John 1:35
Luke 4:14-15
Jesus begins His ministry
Luke 4:16-30
Jesus rejected at Nazareth
Luke 4:31-37
Jesus expels an evil spirit
Luke 4:38-41
Jesus heals at Peter's house
Luke 4:42-44
Jesus preaches in Judea
Luke 5:1-11
Jesus calls His first disciples