one-threaded shell sort