Order games by sort title and name

This commit is contained in:
Pat Hartl 2023-01-16 00:31:47 -06:00
parent 2bf6e7cb54
commit 55f47f7f26

View file

@ -60,7 +60,7 @@
</thead> </thead>
<tbody> <tbody>
@foreach (var item in Model) @foreach (var item in Model.OrderBy(g => !String.IsNullOrWhiteSpace(g.SortTitle) ? g.SortTitle : g.Title))
{ {
<tr> <tr>
<td> <td>