In Ibn Ezra’s peirush on Devarim 1:2, he makes reference to the Secret (Sod) of the 12 and then refers to certain pesukim in the Torah. Does anybody out there know what he is referring to?
He is referring to anachronistic psukim in the Torah, that is, psukim that contain facts or statements that are difficult to understand from a chronological standpoint. The twelve refers to the last twelve psukim in the Torah, following the end of the bircas hashvatim. It seems that the Ibn Ezra had an explanation for these difficulties that he was unwilling to reveal.
There is a book by Marc Shapiro on Orthodox Theology that discusses this Ibn Ezra and gives quite a few sources that also relate to it. You would be interested in chapter seven. This book is available in Judaica libraries and in Barnes & Noble and probably other good bookstores. You could “google” it and get some more information if you like.