Javascript Array Sort Case Insensitive Python Tutor