Added explanation for weird sorting