Sorry to be facile but it's all the same . . . positive integer or negative integer. Handling negative numbers is no different than handling positive ones. Depending on your needs you may decide to sort in ascending or descending order. i.e. if you sort by ascending order "-2" will come before "3".