Since jquery objects are “array-like” and not actual arrays, things like “sort” raise a few questions after inspecting jquery code. As of jquery 2.1.0 you notice that “sort” isn’t a document method and diving into the source, you’ll see that it’s for internal use only:

// For internal use only.
// Behaves like an Array's method, not like a jQuery method.
push: push,
sort: arr.sort,
splice: arr.splice