# Sorting an external collection by location

**URL:** <https://forum.adalo.com/t/sorting-an-external-collection-by-location/42076>\
**Category:** Get Help\
**Created:** [September 17, 2023, 1:08pm UTC](https://forum.adalo.com/t/sorting-an-external-collection-by-location/42076 "2023-09-17T13:08:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anne-Sophie](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@Anne-Sophie](https://forum.adalo.com/u/Anne-Sophie)\
**Post date:** [September 17, 2023, 1:08pm UTC](https://forum.adalo.com/t/sorting-an-external-collection-by-location/42076/1 "2023-09-17T13:08:07Z")

</div>

Hi there,

I need to sort my airtable external collection by geolocalisation = I want the different places to be sorted by closest location.  
I guess the distance between 2 points is stored somewhere because I used a custom formula as subtitle to display the distance from the current device location (as you can see in pink on my screenshot), but I can’t retrieve this data. Can you help? This is crucial for my app.

 ![Capture d’écran 2023-09-17 à 15.06.27](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/6/e/6e39fe6337695de649013f0dd43711a69ac1b98a.jpeg)

Thank you,  
Anne-Sophie

---

<div class="post-metadata">

**Author:** ![Anne-Sophie](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@Anne-Sophie](https://forum.adalo.com/u/Anne-Sophie)\
**Post date:** [September 20, 2023, 8:47am UTC](https://forum.adalo.com/t/sorting-an-external-collection-by-location/42076/2 "2023-09-20T08:47:58Z")

</div>

Hi,

Does anyone has a clue on how to sort by location for an external collection?  
Many thanks

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 30, 2023, 8:48am UTC](https://forum.adalo.com/t/sorting-an-external-collection-by-location/42076/3 "2023-09-30T08:48:07Z")

</div>

Closed on September 30, 2023, 8:48am UTC

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