At the moment, this script loads some files called 'CentrePanel, 01', 'CentrePanel,02' and 'CentrePanel,03' in order, descending.

I wish to reverse the order, so that the highest numbered file loads first instead of last (ascending).

I'm not sure what to change?



Note - Variable 'N' is zero.

Code:
		IF f(0) = "CentrePanel" then		
				
				Set objFile = objFSO.OpenTextFile(FLocate & targetfile.name, 1)

				set SDivID = document.getelementbyid("centercontenta")

				TextInp(N) = objFile.ReadLine

				Set NDivPH = document.createelement("div")
				Set NText = document.createtextnode(TextInp(N))
				
				NDivPH.id = "centercontent" & N					

				SDivID.AppendChild NDivPH
				NDivPH.innerhtml = "<strong>" & TextInp(N) & "</strong><hr />"

				Set NDivP = document.createelement("div")


					Do While objfile.AtEndOfStream <> True
						TextInp(N) = objFile.ReadLine					
						
							SDivID.AppendChild NDivP						
							NDivP.innerHTML = NDivP.innerHTML & "<p style='font-family: arial;'>" & TextInp(N) & "</p>"
			
							N = N + 1
							Redim TextInp(N)														
					Loop
				
				SDivID.AppendChild WLine
				
				objFile.close