I am trying to insert 10 values of the format \"typename_\" + i where i is the counter of the loop in a table named roomtype with attributes typename
i guess, that the output is ordered via alphabet ... if you create typename_1 thru typename_9, everything should be ok. you can also use typename_01 ( filled up with zeros ) to get the correct order.
if you are unsure about that, you can also add a sleep between the insert statements and record the insert-time in the database( as a column )