in reply to Select quuery result sets
If you want to obtain db data in specified order, use fetchrow_arrayref() or similar functions.