Array has sort and VarArray has sort and sortInPlace. The sort function returns a new array in both cases. That makes sense.
In List however the sort function sorts in place. That is confusing. The function should be renamed to sortInPlace to establish consistency with Array/VarArray. Unfortunately, this will be a breaking change.