Added sort method to Container and AdvancedContainer
Added sort