Corrected the (sort (copy-sequence  ...)) example. Tested on my Emacs 24.3 before correcting.