front/index: sort by location. front/index & details, all links now relative to localhost