Adds sort algorythm which overrides standard algorythm with that provided by the caller. Function called on each category after all categories have been added, and provides caller with ability to override sort order.