use internal sorting instead of sortAlpha