Sorter should not modify specs object