lib/abaaso.js
function ( a, b ) {
		var types = {a: typeof a, b: typeof b},
		    c, d, result;

		if ( types.a === "number" && types.b === "number" ) {
			result = a - b;
		}
		else {
			c = a.toString();
			d = b.toString();

			if ( c < d ) {
				result = -1;
			}
			else if ( c > d ) {
				result = 1;
			}
			else if ( types.a === types.b ) {
				result = 0;
			}
			else if ( types.a === "boolean" ) {
				result = -1;
			}
			else {
				result = 1;
			}
		}

		return result;
	}
function ( a, b ) {
		var types = {a: typeof a, b: typeof b},
		    c, d, result;

		if ( types.a === "number" && types.b === "number" ) {
			result = a - b;
		}
		else {
			c = a.toString();
			d = b.toString();

			if ( c < d ) {
				result = -1;
			}
			else if ( c > d ) {
				result = 1;
			}
			else if ( types.a === types.b ) {
				result = 0;
			}
			else if ( types.a === "boolean" ) {
				result = -1;
			}
			else {
				result = 1;
			}
		}

		return result;
	}
function ( a , b ) { var types = { a : typeof a , b : typeof b } , c , d , result ; if ( types . a === "number" && types . b === "number" ) { result = a - b ; } else { c = a . toString ( ) ; d = b . toString ( ) ; if ( c < d ) { result = - 1 ; } else if ( c > d ) { result = 1 ; } else if ( types . a === types . b ) { result = 0 ; } else if ( types . a === "boolean" ) { result = - 1 ; } else { result = 1 ; } } return result ; }
Sorts the Array by parsing values

@method sort
@param  {Mixed} a Argument to compare
@param  {Mixed} b Argument to compare
@return {Number}  Number indicating sort order
Sorts the Array by parsing values