Fixed bugg in sortstart