v.22.6Bug Fix

Fix Incorrect Results in SELECT ... WITH FILL Due to ORDER BY Optimization

Fix possible incorrect result of SELECT ... WITH FILL in the case when ORDER BY should be applied after WITH FILL result (e.g. for outer query). Incorrect result was caused by optimization for ORDER BY expressions (#35623). Closes #37904. #37959 (Yakov Olkhovskiy).