Ensure we sort by the super magical switch sort int property on the object
This commit is contained in:
@@ -58,7 +58,7 @@ namespace OurUmbraco.Documentation.Controllers
|
||||
currentDirectory = currentDirectory.directories.First(x => x.path == pathPart);
|
||||
}
|
||||
|
||||
return currentDirectory.directories;
|
||||
return currentDirectory.directories.OrderBy(x=> x.sort).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user