remove un-needed sort

HTML doesn't care what order the elements are rendered in, so why should we?

Updates tests to use proper `assert_dom_equal` instead of `assert_equal` /cc @jeremy
Merge pull request #17203 from schneems/schneems/av-tag_helper

remove un-needed sort