Speedup if DB columns have same order as template

Compare the k-th entry in the template to the k-th entry in the IPFIX
template. This avoids a loop over all template IEs if the order is
preserved. If the order is not preserved, the correct IE will still be
found.