Fixes #829, I did not know the definition of std::unique is:

Remove consecutive duplicates in range

So you need to sort before calling unique

[#66381160]
Merge branch 'develop' of github.com:NREL/OpenStudio into develop