Javascript Array Sort Case Insensitive Python Programming