add test to sort by int