Implement sort by loco type