In Linguistics, ending a phrase with a preposition is called ''preposition stranding''"preposition stranding" (Ex. Winning the lottery is something to be delighted aboutWinning the lottery is something to be delighted about VS Something to be delighted about is winning the lotterySomething to be delighted about is winning the lottery).
Purists tend to reject it, as they do with ''split infinitives''"split infinitives" (It is better to drive carefully especially in urban areasIt is better to drive carefully especially in urban areas VS It is better to carefully drive especially in urban areasIt is better to carefully drive especially in urban areas... or To go boldly where no man has been beforeTo go boldly where no man has been before VS To boldly go where no man has been beforeTo boldly go where no man has been before) and ''double negation''"double negation" (Standard British English: I bought nothing at the marketI bought nothing at the market VS Western Irish English(possibly): I didn't buy nothing at the market) I didn't buy nothing at the market). Hovewer
However, it occurs more and more frequently today, especially in spoken English but also in written English. It sounds more informal and laid-back, and so it is acceptable in these contexts.