code: public void sortRows(Comparator<List<String>> comparator)
  	{
  		if(data.isEmpty())
  			return;
  		
  		Collections.sort(data, comparator);
  	}
docs: Sort the rows by comparator
  @param comparator the comparator used for sorting