Circular suffix array sorting working.