protected void sort(){
		if(!this.drawSorting) return;
		
		if(!components.isEmpty()){
			for(int i = 0; i < components.size() - 1; i++){
				Renderable r1 = components.get(i);
				Renderable r2 = components.get(i+1);
				if(r1 != null && r2 != null){
			
					if(r1.getOrder() > r2.getOrder()){
						components.set(i, r2);
						components.set(i+1, r1);
					}
				}
			}
		}
	}