Improve performance of Sequence#size
Remove redundant Sorter class