public void setSort(String type) {
        if (type == null)
            return;
        if (type.startsWith("client")) {
            try {