correcting sort again