working on Sort
nn.Sort unit tested