sort fixed, still odd behavior