Adding ordering logic to ensure that if multiple assemblies are present, latest version always wins