move min_living to the right
fix prev link
persist order
fix prev/next links to respect the current ordering
add median, weighted and truncated mean