DocCode metadataOnClientTests.js: fixed sortByName helper which was incorrect (only IE cared)