new files first; sort labels alphabetically
fix redirects from upload