changed taxon and character sorting to e.g. sort according to name in
case of equality in first criteria