Space to render objects; s to sort.
I made the sorting faster, so now it won't overdo anything that won't do any effect. UPDATE: Added a grouping algorithm that the items are swapped if it is less or more than the average of all items. UPDATE:Improved the avg.-grouping to make it more accurate.