Sentences end in prepositions all over the place. The advice that
they should not is a very old prescriptive rule. Often, the
attempt to apply the "rule" results in all sorts of awkward
to which's and
for which's, making the "improved version" worse than the original with the preposition at the end!
CJ