fix initial sort order