Remove sorting routines from DAL.