Re #9468. Implemented sort() method of TableWorkspace.