Hi Guys,

I do not know why are You using rand().Because if you want data in order them random is not the order.

Thanks,
Deniel.