fixed initial sort