A few notes on the standard sort algorithm