Sort merge join

Added a sort merge join operation to allow for a more efficient join when the lists are known to be sorted on both sides.