We have a collection named employees. A few employees have the same names. So we want to sort all the documents by name and then by the salary. Records should be sorted in ascending (alphabetical) order.
Computer scienceSoftware development foundationsSQL and databasesDBMSMongoDBOperations and operators
Sort, limit, and skip
Employees
Report a typo
Enter a short text
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.