Tested moveToAfter and moveToBefore.