make sorting and normalization play nice together