Sort view by its position in its parent