added "number" option to sort function