fix SortHelper still assuming it was only used for "component entities", added MaxCount template parameter
fix SortHelper still assuming it was only used for "component entities", added MaxCount template parameter

phiste/kengine,phiste/kengine,phiste/kengine