Sort entities according to y axis when drwan