better demo (non code generated) version of ab ordering