Implemented Ord for RefBatch