sort locked deps first before write so it's constant between iterations
Merge pull request #18 from nitrous-io/fix-order-lockfile

sort locked deps first before write so it's constant between iterations