A simple Algorithm for sorting integer data