fixing sortInfo bug #223