diff --git wp-includes/meta.php wp-includes/meta.php
index 22b0315..5f5dc73 100644
--- wp-includes/meta.php
+++ wp-includes/meta.php
@@ -604,6 +604,30 @@ function get_meta_sql( $meta_query, $type, $primary_table, $primary_id_column, $
 }
 
 /**
+ * Given a meta type, return the appropriate alias if applicable
+ *
+ * @since 3.7.0
+ *
+ * @see WP_Meta_Query
+ *
+ * @param string $type MySQL type to cast meta_value
+ * @return string MySQL type
+ */
+function get_meta_type( $type = '' ) {
+	if ( empty( $type ) )
+		return 'CHAR';
+
+	$meta_type = strtoupper( $type );
+
+	if ( ! in_array( $meta_type, array( 'BINARY', 'CHAR', 'DATE', 'DATETIME', 'DECIMAL', 'SIGNED', 'TIME', 'UNSIGNED', 'NUMERIC' ) ) )
+		return 'CHAR';
+
+	if ( 'NUMERIC' == $meta_type )
+		$meta_type = 'SIGNED';
+
+	return $meta_type;
+}
+/**
  * Container class for a multiple metadata query
  *
  * @since 3.2.0
@@ -720,8 +744,8 @@ class WP_Meta_Query {
 				$key_only_queries[$k] = $q;
 				unset( $this->queries[$k] );
 			}
-		}		
-		
+		}
+
 		// Split out the meta_key only queries (we can only do this for OR)
 		if ( 'OR' == $this->relation ) {
 			foreach ( $this->queries as $k => $q ) {
@@ -744,12 +768,7 @@ class WP_Meta_Query {
 
 		foreach ( $queries as $k => $q ) {
 			$meta_key = isset( $q['key'] ) ? trim( $q['key'] ) : '';
-			$meta_type = isset( $q['type'] ) ? strtoupper( $q['type'] ) : 'CHAR';
-
-			if ( 'NUMERIC' == $meta_type )
-				$meta_type = 'SIGNED';
-			elseif ( ! in_array( $meta_type, array( 'BINARY', 'CHAR', 'DATE', 'DATETIME', 'DECIMAL', 'SIGNED', 'TIME', 'UNSIGNED' ) ) )
-				$meta_type = 'CHAR';
+			$meta_type = get_meta_type( isset( $q['type'] ) ? $q['type'] : '' );
 
 			$meta_value = isset( $q['value'] ) ? $q['value'] : null;
 
diff --git wp-includes/query.php wp-includes/query.php
index 04286aa..8db0f6e 100644
--- wp-includes/query.php
+++ wp-includes/query.php
@@ -2388,7 +2388,12 @@ class WP_Query {
 						break;
 					case $q['meta_key']:
 					case 'meta_value':
-						$orderby = "$wpdb->postmeta.meta_value";
+						if ( isset( $q['meta_type'] ) ) {
+							$meta_type = get_meta_type( $q['meta_type'] );
+							$orderby = "CAST($wpdb->postmeta.meta_value AS {$meta_type})";
+						} else {
+							$orderby = "$wpdb->postmeta.meta_value";
+						}	
 						break;
 					case 'meta_value_num':
 						$orderby = "$wpdb->postmeta.meta_value+0";
