Make asset-write-date return -1 when one of the sources is missing.
Fix ordering of assets returned by find-assets.