Answer
MySQL sorts using in-memory temp tables when possible and switches to disk-based files if data exceeds memory limits.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ