add support for 1 argument
add sort for > 1 element