VictoriaMetrics/lib/stringsutil
Aliaksandr Valialkin 707f3a69db
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
2024-05-13 16:56:47 +02:00
..
less_natural_test.go lib/stringsutil: add LessNatural() function for natural sorting 2024-05-13 16:56:47 +02:00
less_natural_timing_test.go lib/stringsutil: add LessNatural() function for natural sorting 2024-05-13 16:56:47 +02:00
less_natural.go lib/stringsutil: add LessNatural() function for natural sorting 2024-05-13 16:56:47 +02:00
stringsutil_test.go lib/logstorage: initial implementation of pipes in LogsQL 2024-05-12 16:33:31 +02:00
stringsutil_timing_test.go lib/logstorage: initial implementation of pipes in LogsQL 2024-05-12 16:33:31 +02:00
stringsutil.go lib/logstorage: initial implementation of pipes in LogsQL 2024-05-12 16:33:31 +02:00