Add a sort string value to the //profileDesc/creation/ref/@n based on the testimonia's cited range and its order within the set of works (e.g., all of the testimonia from Eusebius's Dictionary of Places)
Add this to current data
This will need to be a separate process than the main post-processor script as it will need to consider all current records and regenerate the string
Notes:
based on XQuery's sorting of strings, the most efficient way, I think, is to have it be 'a-z' then 'za-zz' then 'zza-zzz', etc. (this should more than cover the number of items we will have from a specific work)
should be able to handle dot notation for subsections (e.g., "3.1.1" is smaller than "3.1.4") and ranges (by taking the smallest of the range).
it may be that ranges will prove difficult if the first number happens to be the same (i.e., if we have a general '45-72' and then a more specific '45-50'). Not sure if we have this in data but worth checking for.
Data fix to improve testimonia browse sort (https://github.com/srophe/caesarea/issues/330). This will fix the problem with string-sorting.
To do:
//profileDesc/creation/ref/@n
based on the testimonia's cited range and its order within the set of works (e.g., all of the testimonia from Eusebius's Dictionary of Places)Notes: