added sorted(list_name) - orders list for batch creation correctly