Sort Records Based on a Field on a Selection Set of a Query Layer

I am using a Query layer that originates from an Oracle DB that is not registered with SDE but has ST_Geometry libraries. I can sort records based on a field from the original dataset, but when I have a selection set from the full dataset sorting on that same field does not work. Has anyone else experienced this phenomenon from a query layer?

Please note that sorting on a selection set from an SDE registered feature class works as expected. I am working in ArcGIS Desktop 10.5.1.