Implement an algorithm to merge an arbitrary number of sorted lists into one sorted list. The aim is to create the smallest working programme, in whatever language you like.
OCaml in 42 characters:
let f=List.fold_left(List.merge compare)[]
I think I should get extra credit for 42 exactly?