updated broker sorting