Sorting by stars