back to sorted ref data by chromo.  Local lambda expressions for readability/maintainability