function isAlphagram( x ) {
	var len;
	var i;

	if ( !isString( x ) ) {
		return false;
	}
	len = x.length;
	if ( !len ) {
		return false;
	}
	for ( i = 1; i < len; i++ ) {
		if ( x[ i-1 ] > x[ i ] ) {
			return false;
		}
	}
	return true;
}
Tests if a value is an alphagram.

@param {*} x - value to test
@returns {boolean} boolean indicating if a value is an alphagram

@example
var out = isAlphagram( 'beep' );
// returns true

@example
var out = isAlphagram( new String( 'beep' ) );
// returns true

@example
var out = isAlphagram( 'zba' );
// returns false

@example
var out = isAlphagram( '' );
// returns false

@example
var out = isAlphagram( 123 );
// returns false