function: checkout recently sold items