title: User interactive sorting of files in an order using the GUIDE matlab
body: <p>I have a GUIDE GUI, </p>
  
  <p>It is having a file upload push button. </p>
  
  <p>Now once the files are uploaded, I have to give the user the oppertunity to order them (like file1 file2 file3...which one should be first and which one should be second and so on...).</p>
  
  <p>My file upload function looks like</p>
  
  <pre><code>function pbu_Callback(hObject, eventdata, handles)
  
  [FileName,PathName,FilterIndex] = uigetfile('*.fig' , 'SELECT FILES TO UPLOAD','MultiSelect','on');
  output = cellfun(@(x) {horzcat(x)},FileName);
  
      handles.files = output;
      guidata(hObject, handles);
  
  filesortgui;
  end
  </code></pre>
  
  <p>Now My filesortgui is a pop-up GUI, which lets the user to sort the files however he wants.</p>
  
  <p>This is filesortgui.m</p>
  
  <pre><code>function filesortgui
  
  S.filesortfigure = figure('units','pixels',...
                'position',[600 600 600 400],...
                'menubar','none',...
                'name','Input Files Sorting',...
                'numbertitle','off',...
                'resize','off');
  
  
  hGui = findobj('Tag','fig');
  handles = guidata(hGui);
  
  
  handles.files(1)
  handles.files(2)
  
  end
  </code></pre>
  
  <p>So I can get the file names into my pop-up GUI.</p>
  
  <p>The list box doesn't lets the user move the string fields. So is there any way I can make the list box string fields to move. or is there any other way the user interactive sorting of files can be done?</p>