In that situation you could write a script that tacks on the equivalent value that rank does, and stream the ordered relations through it.

I'm assuming you have a sense of order on both these relations.

After that join like you would after rank.

I'm not at a computer so can't type up an example.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB