You have to implement a function named sort
Question-Write a function named sort that takes three integer parameters by reference.
The function should rearrange the parameter values so that the first parameter gets set to the smallest value, the second parameter gets set to the second smallest value, and the third parameter gets set to the largest value.
You need to implement this in C++ language. You need to provide the answer as soon as possible.