split off some formatting functions; sorting keeps bots lower than humans