Sorting the result

By code