# Can't shuffle structure collection

**URL:** <https://forum.getkirby.com/t/cant-shuffle-structure-collection/4540>\
**Category:** Questions\
**Tags:** v2\
**Created:** [June 28, 2016, 6:30am UTC](https://forum.getkirby.com/t/cant-shuffle-structure-collection/4540 "2016-06-28T06:30:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 28, 2016, 6:38am UTC](https://forum.getkirby.com/t/cant-shuffle-structure-collection/4540/2 "2016-06-28T06:38:08Z")

</div>

Shuffle does not work with a structure collection, you would have to use `yaml()` and then shuffle the resulting array. See this post: [Pluck structured data?](https://forum.getkirby.com/t/pluck-structured-data/4482/4)

And here’s the [issue on GitHub](https://github.com/getkirby/kirby/issues/288).

---

_[View the full topic](https://forum.getkirby.com/t/cant-shuffle-structure-collection/4540)._
