add HamsterComparator and alphabet sorting