Student Sort
How would I do a simple ascending sort on the LastName, no searches, no filters, and no heading to do a descending sort? What lines of code do I include and what lines of code do I delete.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 877f0457-37d9-9a34-e2ce-beb41d717086
- Version Independent ID: e9b0d4d1-e98c-fb96-415f-0ff4e37d3658
- Content: Razor Pages with EF Core in ASP.NET Core - Sort, Filter, Paging - 3 of 8
- Content Source: aspnetcore/data/ef-rp/sort-filter-page.md
- Product: aspnet-core
- Technology: aspnetcore-data
- GitHub Login: @Rick-Anderson
- Microsoft Alias: riande
Hello @paul000 ... We don't have the staffing to field general development questions. Try a support forum, such as Stack Overflow, or a support chat, such as Slack or Gitter. You can also access the Linq docs for that. Start here :point_right: https://docs.microsoft.com/dotnet/csharp/programming-guide/concepts/linq/ ... it links off to other topics that get into sorting scenarios.
Will do, thanks.
Get Outlook for Androidhttps://aka.ms/ghei36
From: Luke Latham [email protected] Sent: Tuesday, June 25, 2019 5:24:08 PM To: aspnet/AspNetCore.Docs Cc: paul000; Mention Subject: Re: [aspnet/AspNetCore.Docs] Student Sort (#13006)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faspnet%2FAspNetCore.Docs%2Fissues%2F13006%3Femail_source%3Dnotifications%26email_token%3DAD7LMIJQJEA5SZVVMUQQINTP4KEHRA5CNFSM4H3L75RKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSFP6S3Y%23event-2438981999&data=02%7C01%7C%7C2f33ac5594c54e3e38f108d6f9b375e7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636970946498783273&sdata=e6Dl9tvZM11h2%2BxaI9F2jV4M70R03x5%2BPDqr22WJ5pM%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD7LMIPXHFEYA5ASZK5P4ADP4KEHRANCNFSM4H3L75RA&data=02%7C01%7C%7C2f33ac5594c54e3e38f108d6f9b375e7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636970946498793281&sdata=3atGiexJLzBsJ%2FUhR%2FHn8ElWg%2By5c9%2FXtzCHngJuSZI%3D&reserved=0.