Tag: sort and compare algorithm