|
@@ -24,7 +24,7 @@ namespace WCS.Service.Extensions
|
|
public static Task[] GetOutTask(this List<WCS_TASK> tasks)
|
|
public static Task[] GetOutTask(this List<WCS_TASK> tasks)
|
|
{
|
|
{
|
|
return tasks.Select(v => v.Create<Task>())
|
|
return tasks.Select(v => v.Create<Task>())
|
|
- .OrderBy(v => v.Priority)
|
|
|
|
|
|
+ .OrderByDescending(v => v.Priority)
|
|
.ThenBy(v => v.Line)
|
|
.ThenBy(v => v.Line)
|
|
.ThenBy(v => v.Layer)
|
|
.ThenBy(v => v.Layer)
|
|
.ThenBy(v => v.Col)
|
|
.ThenBy(v => v.Col)
|