Sort JcLine structures