The word that came to Jeremiah concerning all the people of Judea — or upon all the people of Judah — in the fourth year of Jehoiakim son of Josiah, king of Judah. These things are earlier than the preceding vision; for that one took place under Zedekiah, after Jeconiah had been carried off to Babylon, but these under Jehoiakim, the son of Josiah and father of Jeconiah. For it was not their concern, as I have already said before, to preserve the chronological order of prophecy, which the laws of history require, but to write in whatever way they knew to be useful to those who would hear and re...ad; hence also in the Psalter some wrongly look for the order of the psalms according to the sequence of history, which is not observed in lyric song.
Source: Commentary on Jeremiah