hit sort name function added for test