more efficient release_sorter