The market rank indicator to detect financial distress