sorted and duapp