pfx_table: iterate pfx_records in ascending IP prefix order

pfx_table_for_each_rec(..) returns the pfx_records sorted by IP prefix in
ascending order.

Thanks to Michael Mester for the idea and code