(roughly) sort git sha1s