This is from https://godoc.org/bitbucket.org/zombiezen/cardcpx/natsort I modified it to be compatible with the Python natsort package. I'll move this to vendor/ once he accepts our PR.