Dictionary(Larger)

Why all the testcases are failing while sample test case is passed ?

since the o/p needs to be be in lexographically increasing
so
store all the string first in avector then sort it in int main
then display each string in new line