How "X" Surnames Work in OGSPI

The OGSPI software approach of grouping surnames in an index according to the first three or four letters works well for most of the alphabet. It stumbles, however, for a small group that start with the letter X.

We force X surnames like XENOCOSTES and XUAN to index in the proper sequence by adding the unlikely prefix WZZ so XENOCOSTAS becomes WZZXENOCOSTAS and XUAN becomes WZZXUAN.

This logic forces all of the X surnames to come together after sorting as a single organized group at the end of W in www.ogs.on.ca/ogspi/w/wzz.htm

A final search and replace step restores WZZXENOCOSTAS to XENOCOSTAS and WZZXUAN to XUAN in the main text of each document.

The surname XU is only 2 letters long so the logic expands it to XUAAAQQ and then adds the sorting prefix WZZ to make WZZXUAAQQ.
Sorting logic for letter W then puts WZZXOU then WZZXUAAQQ then WZZXUAN in the proper sequence for the actual surnames of XOU, XU, and XUAN
