# Change Order Selection or Container Layout Conditionally

**URL:** <https://forum.bubble.io/t/change-order-selection-or-container-layout-conditionally/237638>\
**Category:** Responsiveness\
**Created:** [December 19, 2022, 5:38am UTC](https://forum.bubble.io/t/change-order-selection-or-container-layout-conditionally/237638 "2022-12-19T05:38:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael24](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@michael24](https://forum.bubble.io/u/michael24)\
**Post date:** [December 19, 2022, 5:38am UTC](https://forum.bubble.io/t/change-order-selection-or-container-layout-conditionally/237638/1 "2022-12-19T05:38:45Z")

</div>

I am trying to either find a way to change change a component within a group to first instead of last when the width of a group is reduced down, OR change a container Layout from Row to Column if the same. As an example, here is what I am encountering, and am hoping to swap the search bar with the Create New Button. For reference, There is a main row group which contains text and another row group containing search bar and create new button, as you see in the screenshot of the element tree.

 ![Screenshot_20221218_112954](https://us1.discourse-cdn.com/bubble/original/3X/9/e/9ec27c1455a94498578bc93ab6e2a727fd220937.png)

![Screenshot_20221218_113030](https://us1.discourse-cdn.com/bubble/original/3X/6/f/6f57de0628897e4459f718bb276c4b81d10055dc.png)

![Screenshot_20221218_113124](https://us1.discourse-cdn.com/bubble/original/3X/7/6/76077a42721934bbe152fe955a9422ab09c1fe28.png)

---

<div class="post-metadata">

**Author:** ![Oussama](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@Oussama](https://forum.bubble.io/u/Oussama)\
**Post date:** [December 20, 2022, 11:08am UTC](https://forum.bubble.io/t/change-order-selection-or-container-layout-conditionally/237638/2 "2022-12-20T11:08:19Z")

</div>

@michael24 if I understand well your request; you would like to have the “create new” button aligned to the left in the second screenshot?
