sorting, implementation

Level C