Truncate the project name string with ellipsis when it's longer than 300px
sort the project list by code