Sorted histogram view + minor tweaks