Segments of π
Assume π contains all possible finite number combinations.
See math.stackexchange question
- Determine the number of digits needed from the size of the array.
- Use segments of π places as indexes to determine how to re-order the array. If a segment exceeds the size boundaries for this array, adjust the π decimal offset and start over.
- Check if the re-ordered array is sorted. If it is woot, else adjust the offset and start over.