Consistent sort order for methods