&gt;The real pain is handling data that arrives out of order or otherwise very late<p>Riak TS uses leveldb under the hood. Leveldb is natively sorted. In riak ts that includes the bucket. so the sort order is basically bucket&#x2F;%PK where PK is your composite PK as defined in your CREATE TABLE statement. See Local Key [0].<p>[0] <a href="http:&#x2F;&#x2F;docs.basho.com&#x2F;riak&#x2F;ts&#x2F;1.3.0&#x2F;using&#x2F;planning&#x2F;" rel="nofollow">http:&#x2F;&#x2F;docs.basho.com&#x2F;riak&#x2F;ts&#x2F;1.3.0&#x2F;using&#x2F;planning&#x2F;</a>