# Sorting a sparse axis array

**URL:** <https://discourse.julialang.org/t/sorting-a-sparse-axis-array/57067>\
**Category:** General Usage\
**Tags:** question\
**Created:** [March 13, 2021, 11:00am UTC](https://discourse.julialang.org/t/sorting-a-sparse-axis-array/57067 "2021-03-13T11:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![priod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/priod/32/53099_2.png) [@priod](https://discourse.julialang.org/u/priod)\
**Post date:** [March 13, 2021, 11:00am UTC](https://discourse.julialang.org/t/sorting-a-sparse-axis-array/57067/1 "2021-03-13T11:00:00Z")

</div>

Hi,

I am using the JuMP model, after the optimization process, I have a sparse axis array, I need to sort this array in the descending direction. How can I sort this? Thanking you in advance for the suggestions.

The image is attached with it.

 ![Capture](https://global.discourse-cdn.com/julialang/original/3X/2/4/242f28593220f6687102a3605d61a8264fc029c3.png)
