removed sort in traits