title: Get window list sorted by most recent access bash
body: <p>I know you can do <code>wmctrl -l</code> to list all open windows with their ids.</p>
  
  <p>I would like to have this list sorted by most recent access (the same order as when you do <code>Alt+Tab</code>), is they any way with <code>wmctrl</code> or with any other command line utilities ?</p>
  
  <p>I'm using xfce4, if you know a way to do it with it</p>