R base function 'sort' added to assign functions.