translate asc and desc