Adds SortedIteratingSystem

to iterate over the entities in an order defined by a comparator