Add SQLite support for char_length

review10331002
Fix typo
merge
Allow to disable sorting of dictionary field's selection

issue3605
review2821002