In reply to Juhi_Patel:
i just want the values to be in random ascending order…
my logic is working to get the serial ascending values…
i guess by replacing i to j or viceversa will get row wise ascending or column wise ascending
that doesnt matter…