I'd note that `Vector.sort()` is an awkward choice of name for a function that returns a result, rather than mutating the object in-place, given the standard library tends to use infinitive verbs to mean in place functions, while past tense verbs return a new value with the modification applied.
e.g: `list.sort()` is in-place, `sorted(list)` returns a new list.