title: Cannot get vis.js last or first selected network node
body: <p>I am playing with vis.js and have worked out how to get an array of all the currently selected nodes.</p>
  
  <p><code>
  <code>var TempNodes = network.getSelectedNodes();</code>
  </code></p>
  
  <p>My problem is that the getSelectedNodes() array is returned with all the nodes id's in numeric order from lowest to highest...There doesn't seem to be a way to tell what the last selected node id was or what the first selected node id was. I can only tell which node id's were selected.</p>
  
  <p>Does anyone know a way to be able to find out from the getSelectedNodes array, what was the first or last selected node id ?</p>