GroupBy chunk of rows unequally distributed

This workflow takes a table with one column, where every item is followed by an unequally number of rows. It identifies the items and ranks the rows following. So the input can be used to pivot the table on the items


This is a companion discussion topic for the original entry at https://kni.me/w/7ZZOnPCPrXnWa8Z2