to topple over and lean at a precarious angle; to fall onto something and lean against it; to be on the point of collapse; to be about to fall; to begin to fall
failing to properly evaluate the (relative) importance (of); putting the cart before the horse; mistaking the cause for the end; mistaking the insignificant for the essential; getting one's priorities backwards