cfpb / regulations-site

(DEPRECATED) Web interface for viewing U.S. federal regulations and other regulatory information
Other
28 stars 43 forks source link

Fix the content ordering of the TOC for diffs #619

Closed khandelwal closed 10 years ago

khandelwal commented 10 years ago

The table of contents in diff view were not sorting correctly. We saw:

appendix h, appendix i, supplement i, appendix j

when we should see:

appendix h, appendix i, appendix j, ..., supplement i

This fixes the sorting.

khandelwal commented 10 years ago

This code is now simpler, and ready for review.

cmc333333 commented 10 years ago

Thanks!