apidoc::ad_sort_by_first_string_proc (private)
apidoc::ad_sort_by_first_string_proc l1 l2
Defined in packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl
basically a -1,0,1 result comparing the second element of the list inputs then the first. (both strings)
- Parameters:
- l1 (required)
- l2 (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {[lindex $l1 0] eq [lindex $l2 0]} { return [string compare [lindex $l1 1] [lindex $l2 1]] } else { return [string compare [lindex $l1 0] [lindex $l2 0]] }XQL Not present: Generic, PostgreSQL, Oracle