module Sprockets::Trail

def clear_paths

you want.
completely wipe the paths list and reappend them in the order
There is no mechanism for reordering paths, so its best to

Clear all paths and start fresh.
def clear_paths
  expire_index!
  @trail.paths.dup.each { |path| @trail.remove_path(path) }
end