Added new sorter interface and timer implementation.