fix(docs): version drop down should be naturally sorted

Change the version sorting function at the docs generation so versions are ordered using natural order

Closes #6029