find XRP among the currencies instead of assuming it will be the first