Implement sorting 010-1 and revise sorting 010.