DATAGRAPH-330 : Added test(although ignored) to highlight scenario where current fix does not work - i.e. use of function in Sort.Order