# RG random sorting + 1st cell condition

**URL:** <https://forum.bubble.io/t/rg-random-sorting-1st-cell-condition/295900>\
**Category:** Database\
**Created:** [December 2, 2023, 1:19pm UTC](https://forum.bubble.io/t/rg-random-sorting-1st-cell-condition/295900 "2023-12-02T13:19:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuprygin](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chuprygin/32/192936_2.png) [@chuprygin](https://forum.bubble.io/u/chuprygin)\
**Post date:** [December 2, 2023, 1:19pm UTC](https://forum.bubble.io/t/rg-random-sorting-1st-cell-condition/295900/1 "2023-12-02T13:19:14Z")

</div>

Hi all!

My website users can create projects (each user = 1 project). And all projects are shown in the RG on the main page as a grid view. Currently the sorting of the RG items is set to random.  
Is it possible to maintain random sorting, but to put the current logged in user’s project as a first cell of this RG? So every logged user always see his/her own project as a first item?

Thanks

 ![Screenshot 2023-12-02 at 15.11.16](https://us1.discourse-cdn.com/bubble/original/3X/7/f/7f792ec36876d40c9ba06f8c0ff73998a74757e9.jpeg)

 ![Screenshot 2023-12-02 at 15.18.13](https://us1.discourse-cdn.com/bubble/original/3X/b/0/b0f43f2933e956d4f89e7a70b6ff85a31346c558.jpeg)

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [December 2, 2023, 1:46pm UTC](https://forum.bubble.io/t/rg-random-sorting-1st-cell-condition/295900/2 "2023-12-02T13:46:05Z")

</div>

Hi there, @chuprygin… you should be able to do what you described by using the _merged with_ operator to merge two searches together in the repeating group’s data source. The first search would be a search for projects created by the current user, and the second search would be a search for projects where `Created by` is not the current user (you could still sort the second search randomly).

Hope this helps.

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![chuprygin](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/chuprygin/32/192936_2.png) [@chuprygin](https://forum.bubble.io/u/chuprygin)\
**Post date:** [December 2, 2023, 2:57pm UTC](https://forum.bubble.io/t/rg-random-sorting-1st-cell-condition/295900/3 "2023-12-02T14:57:32Z")

</div>

Thank you!
