Ok, but when i'd test the program with 'time program' i do comment the print line, so the program was only sorting the things into the data structure, not printing it..

even i need to consider the print function?