is it possible to set the clicked element as the first element using jquery masonry
<p>I have following code :</p>

<pre><code> var isFullscreen = false;
  var d = {};
  var test = {};
  $('.item').click(function(){
    var speed = 900;
    if(!isFullscreen){ // MAXIMIZATION
        test.width = $(this).css('width');
        d.width = $(window).width();
        isFullscreen = true;
        $(this).animate(d,speed);

    }
    else{ // MINIMIZATION            
        d.width = test.width;
        isFullscreen = false;
        $(this).animate(d,speed);
    }
})
</code></pre>

<p>When i click on it the clicked item expands and above code achieves it and it works fine. My quesition is <strong>can i set the clicked item as the first item(I mean moving it to the first position or place )?</strong>  If so please let me know thank You..</p>

<p>I have set of <code>&lt;div&gt;</code> tags with same class name called "item". (I am using jquery Masonry).<code>http://masonry.desandro.com/demos/fluid.html</code> I have something similar to this layout.when i click on any item i am setting its width to the windows width and on clicking once again resetting it to its original dimensions. what i want is when i click on the item i want to move the click item to be the first element ... Hope i am clear</p>
