VictoriaMetrics/lib/stringsutil
Aliaksandr Valialkin 2e12119a9e
lib/stringsutil: add LessNatural() function for natural sorting
Natural sorting is needed for sort_by_label_natural() and sort_by_label_natural_desc()
functions in MetricsQL - see https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6192
and https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6256

Natural sorting will be also used by `| sort ...` pipe in VictoriaLogs -
see https://docs.victoriametrics.com/victorialogs/logsql/#sort-pipe

(cherry picked from commit 707f3a69db)
2024-05-13 17:08:56 +02:00
..
less_natural_test.go lib/stringsutil: add LessNatural() function for natural sorting 2024-05-13 17:08:56 +02:00
less_natural_timing_test.go lib/stringsutil: add LessNatural() function for natural sorting 2024-05-13 17:08:56 +02:00
less_natural.go lib/stringsutil: add LessNatural() function for natural sorting 2024-05-13 17:08:56 +02:00
stringsutil_test.go lib/logstorage: initial implementation of pipes in LogsQL 2024-05-12 16:36:01 +02:00
stringsutil_timing_test.go lib/logstorage: initial implementation of pipes in LogsQL 2024-05-12 16:36:01 +02:00
stringsutil.go lib/logstorage: initial implementation of pipes in LogsQL 2024-05-12 16:36:01 +02:00