Proper fix for file-sorting. Natsorted evaluates "image-1.jpg" as ('image', -1, '.jpg'). This was causing sorting for files named as such to be reversed (because the numbers were negative).
The fix is to replace all instances of '-' in the sorted strings.