sort the code lines