demo/www/lib/ionic/js/ionic.bundle.js
function byPriority(a, b) {
      var diff = b.priority - a.priority;
      if (diff !== 0) return diff;
      if (a.name !== b.name) return (a.name < b.name) ? -1 : 1;
      return a.index - b.index;
    }
function byPriority(a, b) {
      var diff = b.priority - a.priority;
      if (diff !== 0) return diff;
      if (a.name !== b.name) return (a.name < b.name) ? -1 : 1;
      return a.index - b.index;
    }
function byPriority ( a , b ) { var diff = b . priority - a . priority ; if ( diff !== 0 ) return diff ; if ( a . name !== b . name ) return ( a . name < b . name ) ? - 1 : 1 ; return a . index - b . index ; }
Sorting function for bound directives.
Sorting function for bound directives .