Fix cq cfg sorting

Seems to have broken at some point.

Also adds an assert, which should help it not break in the future.

Bug: 888810
Change-Id: Ie8160ceee170dfb75d71f46d0e4f1a10eed78b6f
Reviewed-on: https://chromium-review.googlesource.com/c/1428562
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Auto-Submit: Stephen Martinis <martiniss@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625057}
3 files changed