How to change the repositories order in Artifactory?

The default display order of the repositories in Artifactory version 5.x is:

1.Virtual repositories

2.Local repositories

3.Remote repositories and Cache repositories.

To change the default repositories order according to their type add the following system property under $ARTIFACTORY_HOME/etc/artifactory.system.properties:

artifactory.treebrowser.sortRepositories.sortByType

To determine the order in which repositories will be displayed.

You can use the following parameters:

local, remote, virtual,distribution.

For example

artifactory.treebrowser.sortRepositories.sortByType=local,remote,virtual,distribution

You can insert a new order, full or partial.

After adding the above and restarting Artifactory we will get the following order:

Screen Shot 2017-06-07 at 17.45.17.png