added tests for sorting after change