Changes for TopTAJoin
Created new class for AdvancedSort which saves the RIDs and performs the retrieval
Created another class called ConstantVars which saves the RID from various classes in global variable