# Sort one column to display another

**URL:** <https://community.thunkable.com/t/sort-one-column-to-display-another/1660902>\
**Category:** Questions about Thunkable X\
**Created:** [December 27, 2021, 4:04am UTC](https://community.thunkable.com/t/sort-one-column-to-display-another/1660902 "2021-12-27T04:04:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anish.ravi5wee](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@anish.ravi5wee](https://community.thunkable.com/u/anish.ravi5wee)\
**Post date:** [December 27, 2021, 4:04am UTC](https://community.thunkable.com/t/sort-one-column-to-display-another/1660902/1 "2021-12-27T04:04:57Z")

</div>

I have two columns, name and rank. I want to sort by rank but display a list of names in list viewer. Is there a way to do that?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [December 27, 2021, 4:18am UTC](https://community.thunkable.com/t/sort-one-column-to-display-another/1660902/2 "2021-12-27T04:18:59Z")

</div>

You might be able find this useful if you can adapt your lists to this format in this sorting solution

> [@Coding Challenge! ~ Sort a List of Objects](https://community.thunkable.com/t/coding-challenge-sort-a-list-of-objects/617337):
>
> I came across a pretty complex algorithm that I developed last year that I thought would be challenging and useful of others. So hence… Coding Challenge Sort a List of Objects by a property inside of the objects Remix The full code and project can be remixed here: [Thunkable](https://x.thunkable.com/copy/5802ab2995225d8257ea546a67973a67) Walkthrough Let’s first define a list of objects to be sorted We will sort on favorite \> number, so I wrote a helper function that takes in the object and then returns the favorite number Now let’s wr…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [March 27, 2022, 4:19am UTC](https://community.thunkable.com/t/sort-one-column-to-display-another/1660902/3 "2022-03-27T04:19:56Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
