$/-=<>;@a=sort glob$_=<>;s/\S/<@a>/ge;print