std::vector records; std::sort(records.begin(), records.end(), Compare::BarcodeForward());