I am very new to iOS development and there is a lot for me to learn. It is like a huge mountain, but thanks to all your help I am getting places ;)
I have started an Xcode Project (Xcode Version 6.1.1, Swift, iOS) and included FMDB to run SQLite queries. The queries get executed just fine, however in the following statement:
var resultSet: FMResultSet! = sharedInstance.database!.executeQuery("SELECT * FROM spesenValues ORDER BY country ASC", withArgumentsInArray: nil)
The alphabetic order is wrong from my point of view, but I don't seem to figure out how to fix it. The standard A-Z characters get sorted, to where I would expect them, but any character containing a diacritic symbol, e.g. ÄÖÜ is sorted to the very bottom of the list.
So what I expect is:
Österreich ... Zypern
But what I get is
Zypern ... Österreich
From SQLite Order By places umlauts & speical chars at end I learned that it is down to the fact that "SQLite on iOS doesn't come with ICU enabled".
Is there an easy way to configure FMDB to help me sort this "correctly". Thank you in advance and sorry if this turns into a super dumb question