if file f1 record has the smaller key value

if(record1.key < record2.key