fix default sort on 2.2+