Query/36 was not quite the same as SQL, but it had some similarities, especially the ability to very rapidly create a displayed recordset from a disk file.
VBScript users may write their own sort method or borrow one from an existing object like an ADO (ActiveX Data Objects) Recordset or a .