[IMPL] sorted locations