Format Scripture References
Given a list of normalized references, this feature formats them into a human-readable scripture reference string.
It sorts the list so that the references appear in the order they would in the Bible. It also combines verses into ranges when possible.
For example:
The resulting formatted reference should be: