Add dependency sort for containers