Skip to main content

Function to sort arrays

  • November 26, 2019
  • 7 replies
  • 23 views

Forum|alt.badge.img+3

I’ve searched through the forum, and saw multiple posts about this with no answer, so I assume this is not supported currently. Hence the feature request.

Basically, I want a way to sort an array. One example use case is with ARRAYUNIQUE(). Currently, the ordering of the array returned depends on the order of the rows in the table. This is not a very desirable property for a rollup column meant to summarize a set of values. If there was a SORTED function, I could call that and make sure the value in my summary column didn’t depend on the order of rows somewhere else.

Please consider adding a SORTED() function. Thanks.

7 replies

Oli_Steadman
Forum|alt.badge.img+16
  • Known Participant
  • July 10, 2020

Same here, searching I was sure I would find some way to sort arrays but I guess not! Would enable a lot of creativity in handling arrays. Perhaps it’ll come up in tandem with ARRAY_FIRST and ARRAY_LAST


  • New Participant
  • October 30, 2021

I would love to have that feature, too.


Samir_Ghosh
Forum|alt.badge.img+16
  • Known Participant
  • November 3, 2022

How about if “Limit record selection to a view” (in “Link to another record” field) is sorted, then sort the results? That would help in many cases.


Margaret_Picker
Forum|alt.badge.img+13

I need this function too


Forum|alt.badge.img+2
  • New Participant
  • May 22, 2024

Did this fix come?


Forum|alt.badge.img+2
  • New Participant
  • June 9, 2024

Is this coming? 
it's much needed


Forum|alt.badge.img+3
  • New Participant
  • August 19, 2024

Me too