if (parsed.length == 2){
String sortString = parsed[1];
String[] sorts = sortString.split(",");
ArrayList<SortField> sortList = new ArrayList<SortField>();
for (String sort : sorts){
String[] sortParams = sort.split(":");
boolean rev = false;
if (sortParams.length>0){
String sortName = sortParams[0];
if (sortParams.length>1){
try{