getting the place in order