Fixed the GroupedList so items out of order still get placed into the co...

...rrect group. Added a memoize function to Utility.

#MBL-10088

@CHenrie Please review