# Sort a map of int

**URL:** <https://forums.unrealengine.com/t/sort-a-map-of-int/1880690>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [May 30, 2024, 12:01pm UTC](https://forums.unrealengine.com/t/sort-a-map-of-int/1880690 "2024-05-30T12:01:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![YTIceWolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YTIceWolf](https://forums.unrealengine.com/u/YTIceWolf)\
**Post date:** [May 30, 2024, 12:01pm UTC](https://forums.unrealengine.com/t/sort-a-map-of-int/1880690/1 "2024-05-30T12:01:20Z")

</div>

how can i sort a map of int from the biggest to the smalles?

var MyMap : [agent]int = map{}

is there a way?
