example/threejs/asset/three.js
function( values, stride, order ) {

		var nValues = values.length;
		var result = new values.constructor( nValues );

		for ( var i = 0, dstOffset = 0; dstOffset !== nValues; ++ i ) {

			var srcOffset = order[ i ] * stride;

			for ( var j = 0; j !== stride; ++ j ) {

				result[ dstOffset ++ ] = values[ srcOffset + j ];

			}

		}

		return result;

	}
function( values, stride, order ) {

		var nValues = values.length;
		var result = new values.constructor( nValues );

		for ( var i = 0, dstOffset = 0; dstOffset !== nValues; ++ i ) {

			var srcOffset = order[ i ] * stride;

			for ( var j = 0; j !== stride; ++ j ) {

				result[ dstOffset ++ ] = values[ srcOffset + j ];

			}

		}

		return result;

	}
function ( values , stride , order ) { var nValues = values . length ; var result = new values . constructor ( nValues ) ; for ( var i = 0 , dstOffset = 0 ; dstOffset !== nValues ; ++ i ) { var srcOffset = order [ i ] * stride ; for ( var j = 0 ; j !== stride ; ++ j ) { result [ dstOffset ++ ] = values [ srcOffset + j ] ; } } return result ; }
uses the array previously returned by 'getKeyframeOrder' to sort data
uses the array previously returned by getKeyframeOrder to sort data