B2G/gecko/toolkit/components/places/tests/queries/test_containersQueries_sorting.js
// Helper for case insensitive string comparison.
Helper for case insensitive string comparison.
Helper for case insensitive string comparison .
function caseInsensitiveStringComparator(a, b) {
    var aLC = a.toLowerCase();
    var bLC = b.toLowerCase();
    if (aLC < bLC)
      return -1;
    if (aLC > bLC)
      return 1;
    return 0;
  }
function caseInsensitiveStringComparator ( a , b ) { var aLC = a . toLowerCase ( ) ; var bLC = b . toLowerCase ( ) ; if ( aLC < bLC ) return - 1 ; if ( aLC > bLC ) return 1 ; return 0 ; }
Helper for case insensitive string comparison.
Helper for case insensitive string comparison .