I want to change this code from changing the sources of iframe randomly to be by order
<script type="text/javascript">
function newSite() {
var sites = ['Experiment1/index.html',
'Experiment2/index.html',
'Experiment3/index.html']
document.getElementById('myIframe').src = sites[Math.floor(Math.random() * sites.length)];
}
</script>
when clicking on this button and also this is the iframe
<iframe id="myIframe" src="Experiment1/index.html" allowfullscreen="true" scrolling="no"></iframe><br/>
<input type="button" value="Go to next level" onClick="newSite()" />