# Last item displayed first when Cloning

**URL:** https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081
**Category:** Questions about Thunkable X
**Created:** [June 8, 2021, 6:27am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081 "2021-06-08T06:27:37Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)
#### Post date: [June 8, 2021, 6:27am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/1 "2021-06-08T06:27:37Z")

</div>

I have reviewed many posts about clones but have not found an explanation of why, when cloning a list, the last list item is displayed first? How do you get the last item in the list to be last in the column of clones?

[https://x.thunkable.com/copy/5e01421cec79917ea11f8fc3096909cf](https://x.thunkable.com/copy/5e01421cec79917ea11f8fc3096909cf)

![CloneTrouble](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/4/84b54b9517a78952f121253fc0dd81d80d9cc2c2.png)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 8, 2021, 6:49am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/2 "2021-06-08T06:49:37Z")

</div>

I think the problem is that 2bCloneBTN and 2bCloneLBL are singular components rather than dynamic (green block) components. So you’re effectively setting the same component’s value each time through the loop.

It’s a little hard to explain exactly why it doesn’t work but… I think you need to get the cloned component (button or label) and set its text instead of the static component you’re using right now.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 8, 2021, 6:56am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/3 "2021-06-08T06:56:06Z")

</div>

This is a little better:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/7/277a02cbcf757d10c543ba2cbf867654219b13f9.png)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 8, 2021, 7:03am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/4 "2021-06-08T07:03:09Z")

</div>

I’ve never tried cloning an invisible row but I think there might be a bug with that.

Try this instead but make the 2bCloneROW visible in the Design tab:

[https://x.thunkable.com/copy/59ca32c65f4ce6357262a6b2efa1cd96](https://x.thunkable.com/copy/59ca32c65f4ce6357262a6b2efa1cd96)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aa1ceeced25c530af11901c649937898e6785cd1.png)

---

<div class="post-metadata">

### Author: ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)
#### Post date: [June 8, 2021, 7:58am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/5 "2021-06-08T07:58:23Z")

</div>

Works Wonderfully, thanks for the quick response!

---

<div class="post-metadata">

### Author: ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)
#### Post date: [June 9, 2021, 3:31am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/6 "2021-06-09T03:31:20Z")

</div>

One more question: Why is the “Wait 0 seconds” block needed? It doesn’t work without that block, but i don’t understand why it should be needed.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 9, 2021, 3:42am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/7 "2021-06-09T03:42:21Z")

</div>

Me neither! I just know that cloning or creating a block within a loop requires some delay. Otherwise, the component creation happens too quickly. And even though it’s a wait 0 seconds block, it still causes a delay because the screen has to refresh each time (so I’ve been told).

If you want to learn more, see this:

> [@Wrapping Asynchronous (then do) blocks into a Synchronous Function resolves unpredictable results](https://community.thunkable.com/t/wrapping-asynchronous-then-do-blocks-into-a-synchronous-function-resolves-unpredictable-results/910511):
>
> Thunkable provides an extensive library of calls to external services including Google Docs and Web APIs. These external calls are, by necessity, asynchronous calls. That is, the request is sent to the external serivce, Thunkable block execution continues on it’s merry way, then the external service sends a reply. Thunkable wraps the external calls in in blocks with “Then Do” sections. This is a massive improvement over separate call and response block (MIT App Inventor), but it is not without …

---

<div class="post-metadata">

### Author: ![KaneoheKid](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)
#### Post date: [June 9, 2021, 7:37am UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/8 "2021-06-09T07:37:16Z")

</div>

👍

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:20pm UTC](https://community.thunkable.com/t/last-item-displayed-first-when-cloning/1332081/9 "2024-11-08T13:20:21Z")

</div>


