I would like to sort my projects depending on wich page you are on.
At first is shown the project you clicked on (basically $page)
followed by all the remaining projects, minus the one at the top.
What is your use case here? When you are on the single page, you probably want to show more info about this specific page then about the sibling pages? Otherwise, this page would look the same as the overview page.
I’d probably do this in two parts:
Show information about the current page (using $page)
Fetch the siblings without the current page ($page->siblings(false))