How do we join two tables and sort them comparing two columns (compare one column from table1 and another column from table 2) using Criteria which is an Active Record Model..
↧