for the following html
<div id="buttons">
<button order="1" onclick="showImg()">1</button>
<button order="2" onclick="showImg()">2</button>
<button order="3" onclick="showImg()">3</button>
<button order="4" onclick="showImg()">4</button>
<button order="5" onclick="showImg()">5</button>
</div>
how do I need js to get its order when a button is pressed?