Bug 957400: Fix sorting in favicon cache. r=rnewman