shift/unshift added, sort comparator arg added