presto-main/src/main/java/io/prestosql/SystemSessionProperties.java/SystemSessionProperties/isDistributedSortEnabled
class SystemSessionProperties:    public static boolean isDistributedSortEnabled(Session session)
    {
        return session.getSystemProperty(DISTRIBUTED_SORT, Boolean.class);
    }