Sorting problem - Norwegian

Hi,
First time poster here. Been exploring Appsheet since the App Maker shutdown notice came.
Iโ€™ve learned a lot through the documentation and this community and am close to relasing a couple of simple apps in my organization. Really looking forward to that!

However, I canโ€™t seem to find a solution to (maybe a simple?) sorting problem Iโ€™m having.
Being Norwegian, we have a few extra characters in our alphabet compared to English: ร†, ร˜ and ร….

A sorted (ascending) Norwegian list of names could be:

  • Arne
  • Berit
  • Kรฅre
  • Lars
  • Vegard
  • ร…ge

However, in Appsheet this list is sorted like this:

  • ร…ge
  • Arne
  • Berit
  • Kรฅre
  • Lars
  • Vegard

โ€œร…โ€ is the last character in our alphabet, not the first.
Iโ€™ve tried setting the Data locale for this table to โ€œNorwegian Bokmรฅl (Norway)โ€, but that didnโ€™t have any effect.
Ivโ€™e tried the view (type Deck) on several clients (windows PCs and Android phones) with different system wide localization settings, both English and Noregian, but this seems to only have an effect on the display of dates(?) and didnโ€™t seem to do anything for my sorting.

The data is coming from a SQL table.

Is there a simple solution to this that Iโ€™m not seeing?

0 7 263
  • UX
7 REPLIES 7

Welcome to community.
Not perfectly sure if this will help your case, but what about trying this?

For the field you want to sort the rows, take the first character, using Virtual Column as well as LEFT expression. Formula is super simple LEFT([SortingField],1)
You can add and combine additional formula on top of it, but to make the story and discussion simpler, then we create another field to get the number with the simple if expression. To construct the formula, it may be found time consuming, but it looks

IFS(
[VirtualFieldForFirstChara]=โ€œAโ€, then 1,
[VirtualFieldForFirstChara]=โ€œBโ€, then 2,
[VirtualFieldForFirstChara]=โ€œCโ€, then 3,
[VirtualFieldForFirstChara]=โ€œDโ€, then 4,
[VirtualFieldForFirstChara]=โ€œEโ€, then 5,

continuesโ€ฆ till end of the last character

[VirtualFieldForFirstChara]=โ€œร…โ€, then N,
)

Use this Virtual column to sort the rows, followed by the secondary sort by the actual sorting field.

Community member surely have better solutions, but I just thought this may help.

Or sorry not to say, God morgen, first of all.

I just came up with another thought, this may not be the solutions, as you may need to repeat the same for 2nd characters, 3rd characters, 4th characters contโ€ฆ

But there should be solutions. That s Appsheet.

Steve
Platinum 4
Platinum 4

I would encourage you to engage support@appsheet.com directly with this. If your data doesnโ€™t sort according to the deviceโ€™s locale, Iโ€™d call that a bug that should be reported.

Thanks tsuji_koichi, and โ€œGod kveldโ€ to you!
Your solution would probably work to some degree, but I canโ€™t shake the feeling that it should be unnecessary?

I was about to do as Steve suggests and engage Appsheet support directly. However, I decided to try the app on one more phone first. And lo and behold, on this device the sorting behaved as it should!
So I want to test further before engaging support.

Hopefully, I can report back here in this thread soon.

Same problem in Swedish, unsurprisingly. Ever found a solution?

Hej, Saldofel, and welcome to the community!

I still have the same problem in Norwegian with รฆรธรฅ

Steve
Platinum 4
Platinum 4

@Saldofel and @Ratatosk, please contact support@appsheet.com for help with this.

Top Labels in this Space