Acrobat JS

Hi…I am new to acrobat Javascript…So can anyone help me to print the column values as it is in pdf table…actually for me, it is printing in ascending order since i am using for loop…