This isn't really a hack. This is a intentional "feature" that is in previous versions of  Loader's `_sort`, but was simply missed in this rewrite. See https://github.com/yui/yui3/blob/v3.14.1/src/loader/js/loader.js#L728