Incorporated an additional option to view the sorted values in Sort activity, by adding sorted parameter to resolve the issues that were present while sorting.
With this fix, the output will return as Boolean as well as Datatable.

5.0.7