The extract filter can be used to manipulate spine ordering as well as removing spines or adding blank spines.
Here is an example of extracting the outer parts of a 4-part chorale:
The extract filter is identical to the Humdrum Extras command-line tool extractx. See its documentation for more examples of how to use the extract filter.