Use simplify operator< implementations in tools/

Simplify the code for operator< when comparing multiple members using
a common std::tie idiom. And resolve a TODO when comparing strings.

BUG=555171
R=brettw@chromium.org

Review URL: https://codereview.chromium.org/1461623006

Cr-Original-Commit-Position: refs/heads/master@{#362254}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 850020357f5d66ac342fd387e36dd1fb5c298803
2 files changed
tree: 0cacb35afe9d129fc9db673ce792d7cb7e5f453e
  1. tools/