change sort in gifts controller