add support for sort$