Ch5: added array-sort (which does not sort yet)