Prepositions at the end of a sentence are okay in modern English. Your example about adverbs and prepositions has no prepositions. But I see nothing wrong with the example.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.