work-in-progress implementation of WikiSort