Answer
Yes
Work Step by Step
The first function, sort, in the given code just invokes the second function sortHelper. The sortHelper makes only one recursive call at the very end of the program, there is no other operation that need to be done after that call hence the function is tail recursive.