Index: wp-includes/taxonomy.php
===================================================================
--- wp-includes/taxonomy.php	(revision 11455)
+++ wp-includes/taxonomy.php	(working copy)
@@ -1143,7 +1143,7 @@
 	$objects = $wpdb->get_col( $wpdb->prepare( "SELECT object_id FROM $wpdb->term_relationships WHERE term_taxonomy_id = %d", $tt_id ) );
 
 	foreach ( (array) $objects as $object ) {
-		$terms = wp_get_object_terms($object, $taxonomy, 'fields=ids');
+		$terms = wp_get_object_terms($object, $taxonomy, 'fields=ids&orderby=none');
 		if ( 1 == count($terms) && isset($default) ) {
 			$terms = array($default);
 		} else {
@@ -1246,6 +1246,10 @@
 		$orderby = 't.term_group';
 	else if ( 'term_order' == $orderby )
 		$orderby = 'tr.term_order';
+	else if ( 'none' == $orderby ) {
+		$orderby = 'NULL';
+		$order   = '';
+	}
 	else
 		$orderby = 't.term_id';
 
@@ -1270,7 +1274,9 @@
 	} else if ( 'ids' == $fields || 'names' == $fields ) {
 		$terms = array_merge($terms, $wpdb->get_col($query));
 	} else if ( 'tt_ids' == $fields ) {
-		$terms = $wpdb->get_col("SELECT tr.term_taxonomy_id FROM $wpdb->term_relationships AS tr INNER JOIN $wpdb->term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tr.object_id IN ($object_ids) AND tt.taxonomy IN ($taxonomies) ORDER BY tr.term_taxonomy_id $order");
+		if ( 'NULL' != $orderby )
+			$orderby = 'tr.term_taxonomy_id';
+		$terms = $wpdb->get_col("SELECT tr.term_taxonomy_id FROM $wpdb->term_relationships AS tr INNER JOIN $wpdb->term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tr.object_id IN ($object_ids) AND tt.taxonomy IN ($taxonomies) ORDER BY $orderby $order");
 	}
 
 	if ( ! $terms )
@@ -1444,7 +1450,7 @@
 		$terms = array($terms);
 
 	if ( ! $append )
-		$old_tt_ids =  wp_get_object_terms($object_id, $taxonomy, 'fields=tt_ids');
+		$old_tt_ids =  wp_get_object_terms($object_id, $taxonomy, 'fields=tt_ids&orderby=none');
 
 	$tt_ids = array();
 	$term_ids = array();
