rebuild with gps sorting