included bubble sort

TODO cross sorting between gen patchers taking place?