17. Sort a Tensor

Easy

Return tensor a sorted in ascending order.

Input

tensor([3.0000, 1.0000, 4.0000, 1.5000, 5.0000, 9.0000, 2.0000])

Output

tensor([1.0000, 1.5000, 2.0000, 3.0000, 4.0000, 5.0000, 9.0000])
Implement solve(...)