microformat-shiv.js
function(property, reverse) {
			reverse = (reverse) ? -1 : 1;
			return function (a, b) {
				a = a[property];
				b = b[property];
				if (a < b) {
					return reverse * -1;
				}
				if (a > b) {
					return reverse * 1;
				}
				return 0;
			};
		}
function(property, reverse) {
			reverse = (reverse) ? -1 : 1;
			return function (a, b) {
				a = a[property];
				b = b[property];
				if (a < b) {
					return reverse * -1;
				}
				if (a > b) {
					return reverse * 1;
				}
				return 0;
			};
		}
function ( property , reverse ) { reverse = ( reverse ) ? - 1 : 1 ; return function ( a , b ) { a = a [ property ] ; b = b [ property ] ; if ( a < b ) { return reverse * - 1 ; } if ( a > b ) { return reverse * 1 ; } return 0 ; } ; }
a sort function - to sort objects in an array by a given property

@param  {String} property
@param  {Boolean} reverse
@return {Int}
a sort function - to sort objects in an array by a given property