D&D
Moldvay only covers to level 6. Cook wrote expert. However, Moldvay states:
4 2 1st level, 1 2nd level<br>
5 2 1st level, 2 2nd level<br>
6 3 1st level, 2 2nd level
D&D Basic, p. B18
No third level clerical spells are included in Moldvay.
Cook Expert shows your hop:
L Title Spells
1 Acolyte - - - - -
2 Adept 1 - - - -
3 Priest (Priestess) 2 - - - -
4 Vicar 2 1 - - -
5 Curate 2 2 - - -
6 Elder 2 2 1 1 -
7 Bishop 2 2 2 1 1
Cook, D&D Expert, p X5
Classic D&D (little brown book) also shows this hop, however
L Title HD Combat Spells by Level
1 Acolyte 1 man - - - - - -
2 Adept 2 man 1 - - - - -
3 Village Priest 3 2 men 2 - - - - -
4 Vicar 4 3 men 2 1 - - - -
5 Curate 4+1 3 men 2 2 - - - -
6 Bishop 5 Hero -1 2 2 1 1 - -
7 Lama 6 Hero 2 2 2 1 1 -
Men & Magic, p. 18. Level numbers added for clarity
It's likely a typo in the OD&D rules, and matches Cook's Expert, but note that both of those are different from Moldvay, where level 6 has no 3rd level spells.
By AD&D PH, it was fixed:
L 1 2 3 4 5 6 7
1 1 - - - - - -
2 2 - - - - - -
3 2 1 - - - - -
4 3 2 - - - - -
5 3 3 1 - - - -
6 3 3 2 - - - -
7 3 3 2 1 - - -
Gygax, AD&D Player's Handbook, p. 20
Likewise, in Mentzer:
L 1 2 3 4 5 6
1 - - - - - -
2 1 - - - - -
3 2 - - - - -
4 2 1 - - - -
5 2 2 - - - -
6 2 2 1 - - -
7 3 2 2 - - -
I contacted a friend with Holmes basic; it covers ONLY levels 1-3; while it has 2nd level clerical spells, it has no provisions for characters to cast them.
S&W
Swords and Wizardry includes this jump because it was in the game it clones: classic D&D in it's brown or white cover era. S&W makes only a couple changes mechanically. None of them are in character capability, only in resolution mechanics, and the most notable being ascending AC, which is mathematically equivalent.
If you want to "fix" it
If you want a smoother progression, the following is a better fit with later lines on the chart for Classic, Moldvay, and Cook, and by extension, S&W:
L Title Spells
1 Acolyte - - - - -
2 Adept 1 - - - -
3 Priest (Priestess) 2 - - - -
4 Vicar 2 1 - - -
5 Curate 2 1 1 - -
6 Elder 2 2 1 1 -
7 Bishop 2 2 2 1 1
I penciled this into a copy of Cook Expert some time around 1982...