User blog comment:MilkyWay90/I'm ready for the easiest OCF!/@comment-30869823-20180821073843

I think https://en.wikipedia.org/wiki/Ordinal_collapsing_function is a good place to start.