Use collection.insert instead of collection.add if you want to specify a position.