function reorder( arrays, output ) { // TODO: consider replacing with an `array/base/*` utility which expands an input array by inserting a specified value at a specified index and returns a new array
	var out;
	var i;
	var j;

	out = [];
	for ( i = 0, j = 0; i <= arrays.length; i++ ) {
		if ( i === 1 ) {
			out.push( output );
		} else {
			out.push( arrays[ j ] );
			j += 1;
		}
	}
	return out;
}
Reorders a list of ndarrays such that the output ndarray is the second ndarray argument when passing along to a resolved lower-level strided function.

@private
@param {Array<ndarray>} arrays - list of input ndarrays
@param {ndarray} output - output ndarray
@returns {Array<ndarray>} reordered list