# Sort msg.payload Arrays into sections

**URL:** https://discourse.nodered.org/t/sort-msg-payload-arrays-into-sections/17418
**Category:** General
**Created:** [1 November 2019 15:06 UTC](https://discourse.nodered.org/t/sort-msg-payload-arrays-into-sections/17418 "2019-11-01T15:06:24Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![meeki007](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/meeki007/32/12499_2.png) [@meeki007](https://discourse.nodered.org/u/meeki007)
#### Post date: [1 November 2019 15:45 UTC](https://discourse.nodered.org/t/sort-msg-payload-arrays-into-sections/17418/4 "2019-11-01T15:45:36Z")

</div>

Please see:

[array.map](https://dev.to/sarah_chima/the-javascript-array-map-method-44m0)

also threads I've written that use the array.map method that might help you.

[Populate data from database into Dropdownlist](https://discourse.nodered.org/t/populate-data-from-database-into-dropdownlist/15944)

[Help with my flow: generating an email from array](https://discourse.nodered.org/t/help-with-my-flow-generating-an-email-from-array/17346)

I am now working on a solution for you. ...... I've become the array.map guy........lord help me

---

_[View the full topic](https://discourse.nodered.org/t/sort-msg-payload-arrays-into-sections/17418)._
