Macro to join PDFs using pdfunite with ability to re-order before combining

Does anyone have any suggestions for how to go about creating a macro that does the following?

  1. Receive 2+ PDFs from file system (confirm all files are PDFs; if one is not, notify and end macro)
  2. Present list of files that can be re-ordered (require user confirmation to proceed)
  3. Generate timestamp to be used as new file name
  4. Create variable consisting of each PDF in list's path as quote-enclosed
  5. Execute pdfunite with result from previous step and file name generated in step 3.