Define a function for returning a three integer arguments as a sorted list.