to sort or to drag and drop?

to sort or to drag and drop?

to sort or to drag and drop?...i don't know....i need some advice and a bit of help please.

here is my fiddle:

http://jsfiddle.net/destramic/spvogc4d/


basically what im after is for the images without the blue border to be able to switch places with the blue border image only and for the blue border image to replace one which hasn't got a boarder.

do i use sort of drag and drop on this please?...also fiddle isnt working for some strange reason.

any advise or help would be appreciated guys.

thank you