seriously cool, i just did something similar with quantiles for even bucketizing on arb key data types (still needs ord tho)