Changes for sort order issue and refreshing order sequence bar after new collections are assigned