}
private void moveIcon(String blobKey, int oldIndex, int newIndex) {
IconPanel iconPanel = mainPanel.draggablePanel;
List<BlobInfoJS> oldFiles = iconPanel.getFiles();
BlobInfoJS toAdd = oldFiles.get(oldIndex);
if (toAdd.getBlobKey().equals(blobKey)) {
iconPanel.insert(toAdd, newIndex);
// Increment to account for shift after insert
if (oldIndex > newIndex)
oldIndex++;
iconPanel.delete(oldIndex, false);