Edited NumSort