In a routing table, rows 47 and 3497 both match the destination ip address of an arriving packet’s ip address. which row did the router have to look at first to find that match?

In a routing table, rows 47 and 3497 both match the destination ip address of an arriving packet’s ip address. which row did the router have to look at first to find that match?