sort table by number