I remember reading once that the Torah (Pentateuch) is not in the correct order and if someone knew the correct order he would have the ability to do techias hameisim (resurrection). The exact wording I don't remember - eg if it was he would have the ability - or it would cause, etc. The basic idea being that 1) the Torah was not in the "correct" order and 2) the correct order was related to the resurrection.
I've asked several talmidei chochomim and they vaguely remember such a concept but don't know a source. One person I asked said he had heard the concept with respect to Tehillim, but not Torah (see Source for book of Tehillim out of order?)
Does anyone know a source for this concept?