sort source paths before hashing