sort: implemented single thread? - need to test