fixed pre sort