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
l2

Partial Call Graph (max 5 caller/called nodes):
%3

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
[ hide source ] | [ make this the default ]
Show another procedure: