Sort is destructive.