2

The standard approach for storing a Plone catalog query using

result = catalog(..., sort_on='sortable_title')

is not very useful in reality since the sorting rules differ by country and language.

This is some build-in functionality for sorting a list of strings (or objects) for a given locale?

The standard trick for switching the locale of Python temporarily is not suitable since it is not thread-safe.

Any options?

Martijn Pieters
  • 963,270
  • 265
  • 3,804
  • 3,187
Andreas Jung
  • 1
  • 19
  • 73
  • 119

0 Answers0