Scanned frequencies are saved in ascending ordering

Change-Id: Ie426ec3fa4aa3e8f4136938eb35f419ecc0aa71a