Remove need for PREPEND in the sort routines