additional fixes. Sorted current Heads in org manage