Further implement sort by loco type