fix: sort by route number

This commit is contained in:
cuqmbr 2022-05-13 10:17:25 +03:00
parent 6413d88ffc
commit 9bcba8ac5c

View File

@ -68,7 +68,7 @@ public class IndexModel : PageModel
{ {
OnGet(); OnGet();
if (SortString == "increasingNumber dependencies") if (SortString == "increasingNumber")
{ {
Routes.Sort((x, y) => Math.Clamp(x.Number - y.Number, -1, 1)); Routes.Sort((x, y) => Math.Clamp(x.Number - y.Number, -1, 1));
} }