Updated pictureLib.php

Added swapOrder()