# Column sort(Property address: mixture of alphabets and numerics)

**URL:** <https://connect.superhuman.com/t/column-sort-property-address-mixture-of-alphabets-and-numerics/46808>\
**Category:** Ask the Community\
**Created:** [February 25, 2024, 6:49am UTC](https://connect.superhuman.com/t/column-sort-property-address-mixture-of-alphabets-and-numerics/46808 "2024-02-25T06:49:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stanley\_okafor](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/stanley_okafor/32/37384_2.png) [@stanley\_okafor](https://connect.superhuman.com/u/stanley_okafor)\
**Post date:** [February 25, 2024, 6:49am UTC](https://connect.superhuman.com/t/column-sort-property-address-mixture-of-alphabets-and-numerics/46808/1 "2024-02-25T06:49:47Z")

</div>

Hello Community,  
Please does any one have an idea on how I can sort a column in alphabetical order? Am facing challenge when I try to use the sort column like the screenshot below:

 ![Sort](https://global.discourse-cdn.com/coda1/original/3X/e/3/e3302dd8364a2e76a5211dd7c00bc59768985c33.png)

 ![Sort Descending](https://global.discourse-cdn.com/coda1/original/3X/c/2/c20370cc8099394e867f5bd63d8e56ac6c351e09.png)

Now as you can see from the screenshot, the issue is that due to the number in the property address the alphabets are still not well sorted. Any idea will help

---

<div class="post-metadata">

**Author:** ![Rohan\_Mitchell](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@Rohan\_Mitchell](https://connect.superhuman.com/u/Rohan_Mitchell)\
**Post date:** [February 25, 2024, 9:12am UTC](https://connect.superhuman.com/t/column-sort-property-address-mixture-of-alphabets-and-numerics/46808/2 "2024-02-25T09:12:47Z")

</div>

You can create a formula column that uses the RegExReplace formula to remove the numbers from the address and then sort on the formula column -

 ![2024-02-25_20-12-08](https://global.discourse-cdn.com/coda1/original/3X/5/f/5f67c5e5741fd080908a8ba2dbcab2e37a06a028.jpeg)

---

<div class="post-metadata">

**Author:** ![stanley\_okafor](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/stanley_okafor/32/37384_2.png) [@stanley\_okafor](https://connect.superhuman.com/u/stanley_okafor)\
**Post date:** [February 25, 2024, 10:13am UTC](https://connect.superhuman.com/t/column-sort-property-address-mixture-of-alphabets-and-numerics/46808/3 "2024-02-25T10:13:25Z")

</div>

Thank you @Rohan_Mitchell for the support.  
But kindly note that if you remove the number outrightly using RegExReplace then I can no longer identify the property address. I want a way where I can filter out the names so that for example “New Nkisi” will go before any Omu road without removing the proerty identify which is used for payment.

 ![Removenum](https://global.discourse-cdn.com/coda1/original/3X/c/e/ce8d13b6e217f316f5506c3e5017576c7c7a8e3a.png)

---

<div class="post-metadata">

**Author:** ![Max\_OBrien](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/max_obrien/32/49285_2.png) [@Max\_OBrien](https://connect.superhuman.com/u/Max_OBrien)\
**Post date:** [February 25, 2024, 1:19pm UTC](https://connect.superhuman.com/t/column-sort-property-address-mixture-of-alphabets-and-numerics/46808/4 "2024-02-25T13:19:57Z")

</div>

you continue to use the original column for display.  
the column with the regex formula is only used as the sort column  
and it should be hidden.

max

---

<div class="post-metadata">

**Author:** ![Rohan\_Mitchell](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@Rohan\_Mitchell](https://connect.superhuman.com/u/Rohan_Mitchell)\
**Post date:** [February 26, 2024, 1:23am UTC](https://connect.superhuman.com/t/column-sort-property-address-mixture-of-alphabets-and-numerics/46808/5 "2024-02-26T01:23:58Z")

</div>

Hi @stanley_okafor,

As Max said, in the current scenario you would keep using the original Address column as normal, including keeping it visible, and use the new formula column just for sorting the table (but the formula column can still be invisible).

However, having taken a longer look at your list of addresses, I see a couple of issues that mean my solution will fail for many of the addresses. For example, street numbers like “5A”, and “36 and 38”, and “5 / 7”. So there are a variety of variations in the way the addresses are entered which makes your task more difficult, including some without any “street number” at all, such as “All Saints Cathedral”.

Therefore I think the best approach is to implement multiple columns such as - “Street Number”, “Address Line 1”, “Address Line 2”, “Town”, “State”, “Postcode” (of course, you would use columns that are appropriate for your location. The ones I have listed would work well for Australia where I am from). You can sort the table on “Address Line 1”, and create a final formula column that combines all the address columns as necessary using the Concatenate() formula.

If there will be other people who will be entering data, then I think you will have ongoing issues keeping the data “clean” - that is, ensuring data is entered in a consistent way that meets your requirements (for example, even though you have a specific “Street Number” column, _someone_ will still put the street number in the Address Line 1 field, for example. It just happens. But that is not all that unusual, and most (if not all) systems need at least occasional data cleansing. Coda has many ways in which it can assist that process.

I hope that helps.

Rohan

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/system/32/24484_2.png) [@system](https://connect.superhuman.com/u/system)\
**Post date:** [May 26, 2024, 1:24am UTC](https://connect.superhuman.com/t/column-sort-property-address-mixture-of-alphabets-and-numerics/46808/6 "2024-05-26T01:24:46Z")

</div>

Closed on May 26, 2024, 1:24am UTC

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