small link_to_ordering refactoring