I have a collection which is the resultset of a sql query.
when i write out the collection (using system.out.println(col)) my collection is in the correct order. -- which is great.
But when i iterate through the collection in order to populate my linkedhashmap, the items are inserted into the linkedhashmap in a different order.
Is there any way to keep the order of the resulset, and put it into the linkedhashmap so i can display it in the corrrect order?