Basic activation sorter. Untested.