sorting for branches list on branches screen.